Skip to content

Commit

Permalink
Fix condition in filtering #63
Browse files Browse the repository at this point in the history
  • Loading branch information
debrecenics committed Nov 13, 2020
1 parent 31a4420 commit cd5c6b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private static boolean isReferenceToBeFiltered(EReference reference, boolean ena
String name = reference.getName();
if (reference.isContainment() && name.contains("_from_")) {
return true;
} else if (enableDiagramContentIndexing && !name.equals("_representation")) {
} else if (enableDiagramContentIndexing && name.equals("_representation")) {
/*
* "_representation" is a special feature of the MagicDraw metamodel that
* describes the containment of diagram related representation elements
Expand Down

0 comments on commit cd5c6b9

Please sign in to comment.