Skip to content

Commit 46e1544

Browse files
(Sonar) Fixed finding: "Unused local variables should be removed"
1 parent 955538f commit 46e1544

File tree

1 file changed

+0
-1
lines changed
  • plugins/codemodder-plugin-maven/src/main/java/io/codemodder/plugins/maven/operator

1 file changed

+0
-1
lines changed

plugins/codemodder-plugin-maven/src/main/java/io/codemodder/plugins/maven/operator/FormatCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ private byte[] serializePomFile(POMDocument pom) throws XMLStreamException {
506506
xmlRepresentation = replaceRange(xmlRepresentation, match.getRange(), nextMatch.getContent());
507507
}
508508

509-
int lastIndex = 0;
510509

511510
// singleElementsWithAttributes.sort(
512511
// Comparator.comparingInt(matchDataJ -> matchDataJ.getRange().getFirst()));

0 commit comments

Comments
 (0)