@@ -180,7 +180,7 @@ static class StateImpl implements RestorableState<BlobWriteChannel>, Serializabl
180180 this .chunkSize = builder .chunkSize ;
181181 }
182182
183- public static class Builder {
183+ static class Builder {
184184 private final StorageOptions serviceOptions ;
185185 private final BlobInfo blobInfo ;
186186 private final String uploadId ;
@@ -196,37 +196,37 @@ private Builder(StorageOptions options, BlobInfo blobInfo, String uploadId) {
196196 this .uploadId = uploadId ;
197197 }
198198
199- public Builder position (int position ) {
199+ Builder position (int position ) {
200200 this .position = position ;
201201 return this ;
202202 }
203203
204- public Builder buffer (byte [] buffer ) {
204+ Builder buffer (byte [] buffer ) {
205205 this .buffer = buffer .clone ();
206206 return this ;
207207 }
208208
209- public Builder limit (int limit ) {
209+ Builder limit (int limit ) {
210210 this .limit = limit ;
211211 return this ;
212212 }
213213
214- public Builder isOpen (boolean isOpen ) {
214+ Builder isOpen (boolean isOpen ) {
215215 this .isOpen = isOpen ;
216216 return this ;
217217 }
218218
219- public Builder chunkSize (int chunkSize ) {
219+ Builder chunkSize (int chunkSize ) {
220220 this .chunkSize = chunkSize ;
221221 return this ;
222222 }
223223
224- public RestorableState <BlobWriteChannel > build () {
224+ RestorableState <BlobWriteChannel > build () {
225225 return new StateImpl (this );
226226 }
227227 }
228228
229- public static Builder builder (StorageOptions options , BlobInfo blobInfo , String uploadId ) {
229+ static Builder builder (StorageOptions options , BlobInfo blobInfo , String uploadId ) {
230230 return new Builder (options , blobInfo , uploadId );
231231 }
232232
0 commit comments