Make type optional

This commit is contained in:
René Pfeuffer
2018-12-03 16:30:19 +01:00
parent 923cd75ff1
commit 33f3216164
21 changed files with 70 additions and 79 deletions

View File

@@ -64,9 +64,10 @@ public class XmlUserDAO extends AbstractXmlDAO<User, XmlUserDatabase>
@Inject
public XmlUserDAO(ConfigurationStoreFactory storeFactory)
{
super(storeFactory.forType(XmlUserDatabase.class)
.withName(STORE_NAME)
.build());
super(storeFactory
.withName(STORE_NAME)
.withType(XmlUserDatabase.class)
.build());
}
//~--- methods --------------------------------------------------------------