diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableStack.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableStack.java index f854edb28..5b540bd7e 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableStack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableStack.java @@ -145,6 +145,14 @@ public class FileReftableStack implements AutoCloseable { this.lastMax = lastMax; this.min = min; } + + @SuppressWarnings({ "nls", "boxing" }) + @Override + public String toString() { + return String.format( + "ReftableNumbersNotIncreasingException %s: min %d, lastMax %d", + name, min, lastMax); + } } /**