Skip to content

Commit 048fc0c

Browse files
committed
removing not needed code
1 parent b479d59 commit 048fc0c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/org/owasp/esapi/reference/ExtensiveEncoderURITest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import java.io.BufferedReader;
66
import java.io.IOException;
7-
import java.io.InputStream;
87
import java.io.InputStreamReader;
98
import java.net.URL;
109
import java.nio.charset.StandardCharsets;
@@ -22,7 +21,7 @@
2221

2322
@RunWith(Parameterized.class)
2423
public class ExtensiveEncoderURITest {
25-
static List<String> inputs = new ArrayList<String>();
24+
static List<String> inputs = new ArrayList<>();
2625
Validator v = ESAPI.validator();
2726
String uri;
2827
boolean expected;
@@ -53,7 +52,7 @@ private static List<String> readAllLines(BufferedReader br) throws IOException {
5352
}
5453

5554
@Test
56-
public void testUrlsFromFile() throws Exception{
55+
public void testUrlsFromFile() {
5756
assertEquals(this.expected, v.isValidURI("URL", uri, false));
5857
}
5958

0 commit comments

Comments
 (0)