Automatic code cleanup.
PiperOrigin-RevId: 454610659
Change-Id: Ibbdc47bdf38c15815a2f6e6e6637b418d3149111
diff --git a/src/main/java/com/google/devtools/build/lib/remote/Chunker.java b/src/main/java/com/google/devtools/build/lib/remote/Chunker.java
index eb4fa56..cc989cc 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/Chunker.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/Chunker.java
@@ -280,17 +280,6 @@
return this;
}
- @VisibleForTesting
- protected final Builder setInputSupplier(Supplier<InputStream> inputStream) {
- this.inputStream = inputStream;
- return this;
- }
-
- public Builder setCompressed(boolean compressed) {
- this.compressed = compressed;
- return this;
- }
-
public Builder setInput(long size, InputStream in) {
checkState(inputStream == null);
checkNotNull(in);
@@ -338,6 +327,17 @@
return this;
}
+ @VisibleForTesting
+ protected final Builder setInputSupplier(Supplier<InputStream> inputStream) {
+ this.inputStream = inputStream;
+ return this;
+ }
+
+ public Builder setCompressed(boolean compressed) {
+ this.compressed = compressed;
+ return this;
+ }
+
public Builder setChunkSize(int chunkSize) {
this.chunkSize = chunkSize;
return this;