Minor fixes
This commit is contained in:
parent
b27a2695cf
commit
f85fb9948f
|
@ -798,7 +798,11 @@ public class TypeManagement {
|
||||||
oSchema.dropClass(typeName);
|
oSchema.dropClass(typeName);
|
||||||
|
|
||||||
ElementManagement<?,?> erManagement = getTypeManagement(accessType, typeName);
|
ElementManagement<?,?> erManagement = getTypeManagement(accessType, typeName);
|
||||||
|
// If we need to delete an internal type for maintenance we this this check
|
||||||
|
// otherwise we have a null pointer exception
|
||||||
|
if(erManagement!=null) {
|
||||||
erManagement.delete();
|
erManagement.delete();
|
||||||
|
}
|
||||||
|
|
||||||
oDatabaseDocument.commit();
|
oDatabaseDocument.commit();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue