Skip to content

Commit 0c9a1d2

Browse files
committed
remove unnecessary synchronized
1 parent 41fbacf commit 0c9a1d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/google/devtools/build/lib/query2/query/output/StreamedProtoOutputFormatter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private WrappedIOException(IOException cause) {
8989
}
9090

9191
@Override
92-
public synchronized IOException getCause() {
92+
public IOException getCause() {
9393
return (IOException) super.getCause();
9494
}
9595
}
@@ -100,7 +100,7 @@ private WrappedInterruptedException(InterruptedException cause) {
100100
}
101101

102102
@Override
103-
public synchronized InterruptedException getCause() {
103+
public InterruptedException getCause() {
104104
return (InterruptedException) super.getCause();
105105
}
106106
}

0 commit comments

Comments
 (0)