From 2bfda94ee16bc58c98c6fb801f33cd4ebfc20b1e Mon Sep 17 00:00:00 2001 From: tsantalis Date: Thu, 7 Mar 2024 18:06:43 -0500 Subject: [PATCH] Undoing change failing TestAllRefactorings --- .../gr/uom/java/xmi/decomposition/StringBasedHeuristics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gr/uom/java/xmi/decomposition/StringBasedHeuristics.java b/src/main/java/gr/uom/java/xmi/decomposition/StringBasedHeuristics.java index 9b1ac3ac7f..20e5543f2b 100644 --- a/src/main/java/gr/uom/java/xmi/decomposition/StringBasedHeuristics.java +++ b/src/main/java/gr/uom/java/xmi/decomposition/StringBasedHeuristics.java @@ -1443,7 +1443,7 @@ else if(token1WithoutDoubleQuotes.contains(token2WithoutDoubleQuotes)) { filteredIntersection.add(common); } } - if(filteredIntersection.size() == Math.min(tokens1.size(), tokens2.size()) || commonTokens.size() == Math.min(tokens1.size(), tokens2.size())) { + if(filteredIntersection.size() == Math.min(tokens1.size(), tokens2.size())) { IntersectionReplacement r = new IntersectionReplacement(s1, s2, ReplacementType.CONCATENATION); for(String key : filteredIntersection) { List expressions1 = statement1.findExpression(key);