forked from Fascinated/Bat
fix marked as non null err and removed profiles debug
This commit is contained in:
@ -41,8 +41,6 @@ public abstract class ProfileHolder {
|
||||
Serializable profile = getProfiles().get(clazz.getSimpleName());
|
||||
if (profile == null) {
|
||||
T newProfile = clazz.cast(clazz.getDeclaredConstructors()[0].newInstance());
|
||||
|
||||
log.info("instance of profiles: {}", document.get("profiles").getClass().getSimpleName());
|
||||
Document profiles = document.get("profiles", new org.bson.Document());
|
||||
Document profileDocument = (Document) profiles.get(clazz.getSimpleName());
|
||||
|
||||
|
Reference in New Issue
Block a user