Fix wrong logging on class creation with wrong superclass
@@ -548,7 +548,7 @@ public interface ODatabase<T> extends OBackupable, Closeable {
String superclass = superclasses[i];
OClass superclazz = schema.getClass(superclass);
if (superclazz == null) {
- throw new OSchemaException("Class " + superclazz + " does not exist");
+ throw new OSchemaException("Class " + superclass + " does not exist");
}
superclassInstances[i] = superclazz;
}
