From 4e239451da28b17790dff54e055ef4cd73dab8ab Mon Sep 17 00:00:00 2001 From: Doris Lam Date: Mon, 14 Aug 2023 14:55:47 -0700 Subject: [PATCH] remove old _appliedStereotypeIds key as it's now part of the native export --- src/main/java/org/openmbee/mdk/emf/EMFExporter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openmbee/mdk/emf/EMFExporter.java b/src/main/java/org/openmbee/mdk/emf/EMFExporter.java index fbb0eb4c1..1956f7558 100644 --- a/src/main/java/org/openmbee/mdk/emf/EMFExporter.java +++ b/src/main/java/org/openmbee/mdk/emf/EMFExporter.java @@ -156,14 +156,14 @@ private static void dumpUMLPackageLiterals() { } private enum Processor { - APPLIED_STEREOTYPE( + /*APPLIED_STEREOTYPE( (element, project, objectNode) -> { ArrayNode applied = StereotypesHelper.getStereotypes(element).stream().map(stereotype -> TextNode.valueOf(getEID(stereotype))).collect(MDKCollectors.toArrayNode()); objectNode.set(MDKConstants.APPLIED_STEREOTYPE_IDS_KEY, applied); return objectNode; }, Type.PRE - ), + ),*/ ATTACHED_PROJECT( (element, project, objectNode) -> ProjectUtilities.isElementInAttachedProject(element) && ProjectUtilities.getAttachedProjects(project.getPrimaryProject()).stream().noneMatch(iAttachedProject -> ProjectUtilitiesInternal.distanceFromProject(iAttachedProject) == 1 && ProjectUtilities.isAttachedProjectRoot(element, iAttachedProject)) ? null : objectNode, Type.PRE