Remove redundant code from FastenUriUtils
package eu.fasten.core.utils;
-import eu.fasten.core.dbconnectors.PostgresConnector;
-import eu.fasten.core.maven.GraphMavenResolver;
-import eu.fasten.core.maven.data.Revision;
-
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
-import java.util.HashMap;
import java.util.List;
-import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
@@ -129,8 +123,4 @@ public class FastenUriUtils {
return List.of(namespace, className, methodName, methodArgs, methodReturnType);
}
- public static void main(String[] args) {
- var partial = "/nl.tudelft.jpacman.ui/PacManUiBuilder$addStopButton%28Lnl$tudelft$jpacman$game$Game%3A%29V%3A30$Lambda.$newInstance(%2Fnl.tudelft.jpacman.game%2FGame)PacManUiBuilder$addStopButton%28Lnl$tudelft$jpacman$game$Game%3A%29V%3A30$Lambda";
- System.out.println(parsePartialFastenUri(partial));
- }
}
