diff options
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/errors/CompoundException.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/errors/CompoundException.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/errors/CompoundException.java b/org.eclipse.jgit/src/org/eclipse/jgit/errors/CompoundException.java index 62ff990883..7192138b15 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/errors/CompoundException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/errors/CompoundException.java @@ -56,7 +56,7 @@ import org.eclipse.jgit.internal.JGitText; public class CompoundException extends Exception { private static final long serialVersionUID = 1L; - private static String format(final Collection<Throwable> causes) { + private static String format(Collection<Throwable> causes) { final StringBuilder msg = new StringBuilder(); msg.append(JGitText.get().failureDueToOneOfTheFollowing); for (final Throwable c : causes) { @@ -75,7 +75,7 @@ public class CompoundException extends Exception { * @param why * Two or more exceptions that may have been the problem. */ - public CompoundException(final Collection<Throwable> why) { + public CompoundException(Collection<Throwable> why) { super(format(why)); causeList = Collections.unmodifiableList(new ArrayList<>(why)); } |