Skip to content

Commit

Permalink
Remove @nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Nov 2, 2021
1 parent 0c620a3 commit b5f3ff7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.google.devtools.build.lib.worker.WorkerProtocol.WorkRequest;
import com.google.devtools.build.lib.worker.WorkerProtocol.WorkResponse;
import com.sun.management.OperatingSystemMXBean;
import javax.annotation.Nullable;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
Expand Down Expand Up @@ -585,7 +584,6 @@ public PrintStream getOriginalErrorStream() {
}

/** Returns the captured outputs as a UTF-8 string */
@Nullable
public String readCapturedAsUtf8String() throws IOException {
capturedStream.flush();
String captureOutput = new String(capturedStream.toByteArray(), StandardCharsets.UTF_8);
Expand Down

0 comments on commit b5f3ff7

Please sign in to comment.