mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
(chore) remove unused code
This commit is contained in:
parent
0771f88f4d
commit
e7ebac9db0
1 changed files with 0 additions and 20 deletions
|
|
@ -182,26 +182,6 @@ public class ContentRepository {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Zeigt an, ob diese URI in ein JAR zeigt.
|
|
||||||
*
|
|
||||||
* @param uri der URI
|
|
||||||
* @return true wenn innerhalb eines JARs
|
|
||||||
*/
|
|
||||||
public static boolean isJarResource(final URI uri) {
|
|
||||||
return isJarResource(uri.toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Zeigt an, ob dieser Pfad in ein JAR zeigt.
|
|
||||||
*
|
|
||||||
* @param path der Pfad (URI-Format)
|
|
||||||
* @return true wenn innerhalb eines JARs
|
|
||||||
*/
|
|
||||||
public static boolean isJarResource(final String path) {
|
|
||||||
return StringUtils.startsWithIgnoreCase(path, "jar:") && path.split("!").length == 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Erzeugt einen resolver für dieses Repository, der nur relativ auflösen kann
|
* Erzeugt einen resolver für dieses Repository, der nur relativ auflösen kann
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue