File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/dev/mieser/tsa/signing/impl/cert Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1414import lombok .RequiredArgsConstructor ;
1515
1616import org .apache .commons .lang3 .StringUtils ;
17+ import org .apache .commons .lang3 .Strings ;
1718
1819/**
1920 * {@link SigningKeystoreLoader} which supports PKCS#12 key stores.
@@ -72,7 +73,7 @@ private KeyStore loadKeystore() {
7273
7374 private InputStream openStream () throws IOException {
7475 if (path .toLowerCase ().startsWith (CLASSPATH_MARKER )) {
75- String pathWithoutClasspathPrefix = StringUtils . removeStartIgnoreCase (path , CLASSPATH_MARKER );
76+ String pathWithoutClasspathPrefix = Strings . CI . removeStart (path , CLASSPATH_MARKER );
7677 InputStream resourceStream = getClass ().getClassLoader ().getResourceAsStream (pathWithoutClasspathPrefix );
7778 return Objects .requireNonNull (resourceStream ,
7879 String .format ("Classpath resource '%s' not found." , pathWithoutClasspathPrefix ));
You can’t perform that action at this time.
0 commit comments