minor codacy suggested changes

This commit is contained in:
Jeremy Long
2017-06-04 08:13:59 -04:00
parent 31ad7adadd
commit 422418f396
4 changed files with 18 additions and 20 deletions

View File

@@ -56,12 +56,12 @@ public class UrlStringUtilsTest {
@Test
public void testExtractImportantUrlData() throws Exception {
String text = "http://github.com/jeremylong/DependencyCheck/index.html";
List<String> expResult = Arrays.asList("github", "jeremylong", "DependencyCheck", "index");;
List<String> expResult = Arrays.asList("github", "jeremylong", "DependencyCheck", "index");
List<String> result = UrlStringUtils.extractImportantUrlData(text);
assertEquals(expResult, result);
text = "http://github.com/jeremylong/DependencyCheck/.gitignore";
expResult = Arrays.asList("github", "jeremylong", "DependencyCheck", "gitignore");;
expResult = Arrays.asList("github", "jeremylong", "DependencyCheck", "gitignore");
result = UrlStringUtils.extractImportantUrlData(text);
assertEquals(expResult, result);