diff --git a/neoemf-io/src/main/java/fr/inria/atlanmod/neoemf/io/processor/EcoreProcessor.java b/neoemf-io/src/main/java/fr/inria/atlanmod/neoemf/io/processor/EcoreProcessor.java index d14ecd516c..05ab531967 100644 --- a/neoemf-io/src/main/java/fr/inria/atlanmod/neoemf/io/processor/EcoreProcessor.java +++ b/neoemf-io/src/main/java/fr/inria/atlanmod/neoemf/io/processor/EcoreProcessor.java @@ -116,7 +116,9 @@ public void onReference(BasicReference reference) { reference.isMany(eReference.isMany()); EClass referenceType = eReference.getEReferenceType(); - reference.metaclassReference(new BasicMetaclass(BasicNamespace.Registry.getInstance().getFromUri(referenceType.getEPackage().getNsURI()), referenceType.getName())); + reference.metaclassReference(new BasicMetaclass( + BasicNamespace.Registry.getInstance().getFromUri(referenceType.getEPackage().getNsURI()), + referenceType.getName())); notifyReference(reference); } @@ -301,7 +303,8 @@ private EClass resolveInstanceOf(BasicElement element, BasicNamespace ns, EClass superClass = subClass; } else { - throw new IllegalArgumentException(String.format("%s is not a subclass of %s", subClass.getName(), superClass.getName())); + throw new IllegalArgumentException( + String.format("%s is not a subclass of %s", subClass.getName(), superClass.getName())); } }