Skip to content

Commit

Permalink
reformat EcoreProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
yvrng committed Jun 9, 2017
1 parent ad765f3 commit 00637c3
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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()));
}
}

Expand Down

0 comments on commit 00637c3

Please sign in to comment.