Skip to content

Commit 4923856

Browse files
committed
Remove not needed throws from BaseWriteChannelTest
1 parent 1084ed8 commit 4923856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcloud-java-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected BaseState.Builder<CustomServiceOptions, Serializable> stateBuilder() {
8282
}
8383

8484
@Test
85-
public void testConstructor() throws IOException {
85+
public void testConstructor() {
8686
assertEquals(null, channel.options());
8787
assertEquals(ENTITY, channel.entity());
8888
assertEquals(0, channel.position());
@@ -108,7 +108,7 @@ public void testValidateOpen() throws IOException {
108108
}
109109

110110
@Test
111-
public void testChunkSize() throws IOException {
111+
public void testChunkSize() {
112112
channel.chunkSize(42);
113113
assertEquals(MIN_CHUNK_SIZE, channel.chunkSize());
114114
channel.chunkSize(2 * MIN_CHUNK_SIZE);

0 commit comments

Comments
 (0)