From 00637c3168f5e6bb297aecdd6dedf42d8c2ae3a8 Mon Sep 17 00:00:00 2001 From: Yoann Vernageau Date: Fri, 9 Jun 2017 14:38:27 +0200 Subject: [PATCH] reformat `EcoreProcessor` --- .../inria/atlanmod/neoemf/io/processor/EcoreProcessor.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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())); } }