From 6103ed2859479b073f754c692aafbe2b4ac77ae5 Mon Sep 17 00:00:00 2001 From: tsantalis Date: Tue, 13 Feb 2024 08:01:40 -0500 Subject: [PATCH] Improvement over previous commit --- src/main/java/gr/uom/java/xmi/decomposition/AbstractCall.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gr/uom/java/xmi/decomposition/AbstractCall.java b/src/main/java/gr/uom/java/xmi/decomposition/AbstractCall.java index 1987d4cf6..eb9641a89 100644 --- a/src/main/java/gr/uom/java/xmi/decomposition/AbstractCall.java +++ b/src/main/java/gr/uom/java/xmi/decomposition/AbstractCall.java @@ -333,7 +333,7 @@ public boolean equalArgumentsExceptForStringLiterals(AbstractCall call) { public boolean isStringLiteral(String argument) { return (argument.startsWith("\"") && argument.endsWith("\"")) || - (argument.contains("(\"") && argument.contains("\")")); + (argument.contains("(\"") && argument.endsWith("\")")); } public boolean equalArguments(AbstractCall call) {