From 7255f955a71d86ac5bf552872a8a2ccc420e223f Mon Sep 17 00:00:00 2001 From: Julian Flake Date: Thu, 1 Jun 2023 12:30:52 +0000 Subject: [PATCH] new Boolean(true) -> Boolean.TRUE --- .../carisma/modeltype/uml2/statemachine/StateMachinePaths.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/carisma.modeltype.uml2/src/carisma/modeltype/uml2/statemachine/StateMachinePaths.java b/plugins/carisma.modeltype.uml2/src/carisma/modeltype/uml2/statemachine/StateMachinePaths.java index 673ed552..731a948c 100644 --- a/plugins/carisma.modeltype.uml2/src/carisma/modeltype/uml2/statemachine/StateMachinePaths.java +++ b/plugins/carisma.modeltype.uml2/src/carisma/modeltype/uml2/statemachine/StateMachinePaths.java @@ -291,7 +291,7 @@ private void findPaths(final List pathPrefix, final Map> q=new LinkedList<>();//boolean visited - q.add(new Pair<>(element,new Boolean(true))); + q.add(new Pair<>(element, Boolean.TRUE)); Element e=null; while (!q.isEmpty()){ q.peek().setSecond(Boolean.TRUE);