]> source.dussan.org Git - jgit.git/commitdiff
Remove deprecated MergeMessageFormatter#formatWithConflicts 04/1200404/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 30 Aug 2024 15:44:24 +0000 (17:44 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 3 Sep 2024 14:11:03 +0000 (16:11 +0200)
Change-Id: I3040f655318c47f268433294720a99325ae78863

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

index e0c083f55cc18ff4de58557e265568b3030d3a82..039d7d844cf370918640257a4e3563c8f38ec083 100644 (file)
@@ -91,24 +91,6 @@ public class MergeMessageFormatter {
                return sb.toString();
        }
 
-       /**
-        * Add section with conflicting paths to merge message. Lines are prefixed
-        * with a hash.
-        *
-        * @param message
-        *            the original merge message
-        * @param conflictingPaths
-        *            the paths with conflicts
-        * @return merge message with conflicting paths added
-        * @deprecated since 6.1; use
-        *             {@link #formatWithConflicts(String, Iterable, char)} instead
-        */
-       @Deprecated
-       public String formatWithConflicts(String message,
-                       List<String> conflictingPaths) {
-               return formatWithConflicts(message, conflictingPaths, '#');
-       }
-
        /**
         * Add section with conflicting paths to merge message.
         *