mirror of
https://github.com/google/nomulus.git
synced 2025-06-28 07:13:34 +02:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
parent
a7256f5edd
commit
5d80f124ca
377 changed files with 2297 additions and 2373 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue