mirror of
https://github.com/google/nomulus
synced 2026-09-05 07:37:09 +00:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
@@ -35,7 +35,7 @@ public final class FakeServletOutputStream extends ServletOutputStream {
|
||||
|
||||
/** @see java.io.OutputStream#write(int) */
|
||||
@Override
|
||||
public void write(int b) throws IOException {
|
||||
public void write(int b) {
|
||||
out.write(b);
|
||||
}
|
||||
|
||||
@@ -47,8 +47,7 @@ public final class FakeServletOutputStream extends ServletOutputStream {
|
||||
|
||||
/** @see java.io.OutputStream#write(byte[], int, int) */
|
||||
@Override
|
||||
public void write(@Nonnull @SuppressWarnings("null") byte[] b, int off, int len)
|
||||
throws IOException {
|
||||
public void write(@Nonnull @SuppressWarnings("null") byte[] b, int off, int len) {
|
||||
out.write(b, off, len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user