mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
Make type optional
This commit is contained in:
@@ -90,10 +90,10 @@ public class SecureKeyResolver extends SigningKeyResolverAdapter
|
||||
@SuppressWarnings("unchecked")
|
||||
public SecureKeyResolver(ConfigurationEntryStoreFactory storeFactory)
|
||||
{
|
||||
store = storeFactory.
|
||||
forType(SecureKey.class)
|
||||
.withName(STORE_NAME)
|
||||
.build();
|
||||
store = storeFactory
|
||||
.withName(STORE_NAME)
|
||||
.withType(SecureKey.class)
|
||||
.build();
|
||||
}
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user