Skip to content

Commit 5e956b7

Browse files
committed
Remove an unnecessary String.trim
This is already handled by the following elimination of all whitespace and avoids an unnecessary allocation.
1 parent c25571e commit 5e956b7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/org/variantsync/diffdetective/feature/CPPDiffLineFormulaExtractor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public String extractFormula(final String line) throws IllFormedAnnotationExcept
4848
fm = COMMENT_PATTERN.matcher(fm).replaceAll("");
4949

5050
// remove whitespace
51-
fm = fm.trim();
5251
fm = fm.replaceAll("\\s", "");
5352

5453
// remove defined()

0 commit comments

Comments
 (0)