]> source.dussan.org Git - jgit.git/commitdiff
RecursiveMerger: fix boxing warning 16/1203916/1
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 19 Nov 2024 12:19:03 +0000 (13:19 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 19 Nov 2024 12:19:03 +0000 (13:19 +0100)
Change-Id: I6f6ae540b128ff6b965931e829da1368a8b88ddb

org.eclipse.jgit/src/org/eclipse/jgit/merge/RecursiveMerger.java

index ec1b599b77b8378e04fd7a258636f6ccd329e349..fc5ab6289825e6015a438476904312b61a891083 100644 (file)
@@ -249,7 +249,7 @@ public class RecursiveMerger extends ResolveMerger {
 
                if (failingPaths.size() > max) {
                        failedPaths = String.format("%s\n... (%s failing paths omitted)", //$NON-NLS-1$
-                                       failedPaths, failingPaths.size() - max);
+                                       failedPaths, Integer.valueOf(failingPaths.size() - max));
                }
                return failedPaths;
        }