comparison reversed

This commit is contained in:
Jan-Peter Klein
2025-02-13 15:15:29 +01:00
parent 4adc4a9175
commit f0aaec2058

View File

@@ -39,8 +39,7 @@ public interface KeyLoadingStrategy extends MasterkeyLoader {
* @return {@code true} if the given key loader scheme represents a Hub Vault; {@code false} otherwise.
*/
static boolean isHubVault(String keyLoader) {
return keyLoader.equals(HubKeyLoadingStrategy.SCHEME_HUB_HTTP) ||
keyLoader.equals(HubKeyLoadingStrategy.SCHEME_HUB_HTTPS);
return HubKeyLoadingStrategy.SCHEME_HUB_HTTP.equals(keyLoader) || HubKeyLoadingStrategy.SCHEME_HUB_HTTPS.equals(keyLoader);
}
/**