Removing redundant local variable
This commit is contained in:
parent
f5ac81db41
commit
1ea1f0af96
2 changed files with 2 additions and 4 deletions
|
@ -448,8 +448,7 @@ public class KeycloakUriBuilder {
|
|||
}
|
||||
|
||||
public static Matcher createUriParamMatcher(String string) {
|
||||
Matcher matcher = PathHelper.URI_PARAM_PATTERN.matcher(PathHelper.replaceEnclosedCurlyBraces(string));
|
||||
return matcher;
|
||||
return PathHelper.URI_PARAM_PATTERN.matcher(PathHelper.replaceEnclosedCurlyBraces(string));
|
||||
}
|
||||
|
||||
protected StringBuffer replaceParameter(Map<String, ?> paramMap, boolean fromEncodedMap, boolean isTemplate, String string, StringBuffer buffer, boolean encodeSlash) {
|
||||
|
|
|
@ -76,8 +76,7 @@ public final class PemUtils {
|
|||
*/
|
||||
public static byte[] pemToDer(InputStream is) throws IOException {
|
||||
String pem = pemFromStream(is);
|
||||
byte[] der = pemToDer(pem);
|
||||
return der;
|
||||
return pemToDer(pem);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue