Remove unnecessary "throws" declarations

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201058582
This commit is contained in:
mcilwain 2018-06-18 14:25:42 -07:00 committed by Ben McIlwain
parent a7256f5edd
commit 5d80f124ca
377 changed files with 2297 additions and 2373 deletions

View file

@ -116,7 +116,7 @@ public class PosixTarHeaderTest {
}
@Test
public void testFields() throws Exception {
public void testFields() {
PosixTarHeader header = new PosixTarHeader.Builder()
.setType(PosixTarHeader.Type.REGULAR)
.setName("(◕‿◕).txt")
@ -142,7 +142,7 @@ public class PosixTarHeaderTest {
}
@Test
public void testFieldsSomeMoar() throws Exception {
public void testFieldsSomeMoar() {
PosixTarHeader header = new PosixTarHeader.Builder()
.setType(PosixTarHeader.Type.DIRECTORY)
.setName("Black lung full of fumes, choke on memories")
@ -166,7 +166,7 @@ public class PosixTarHeaderTest {
}
@Test
public void testLoad() throws Exception {
public void testLoad() {
PosixTarHeader header = new PosixTarHeader.Builder()
.setType(PosixTarHeader.Type.REGULAR)
.setName("(◕‿◕).txt")
@ -193,7 +193,7 @@ public class PosixTarHeaderTest {
}
@Test
public void testBadChecksum() throws Exception {
public void testBadChecksum() {
PosixTarHeader header = new PosixTarHeader.Builder()
.setName("(◕‿◕).txt")
.setSize(31337)
@ -207,7 +207,7 @@ public class PosixTarHeaderTest {
}
@Test
public void testHashEquals() throws Exception {
public void testHashEquals() {
new EqualsTester()
.addEqualityGroup(
new PosixTarHeader.Builder()