summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2011-07-01 07:20:48 -0400
committerCode Review <codereview-daemon@eclipse.org>2011-07-01 07:20:48 -0400
commit5223cb6e5adc19e3d2bc28f384878194e9205042 (patch)
treeae7f9ab925f9064c332569714fc153a4c29624cf
parenteb46d7ffdc6dee1f8570d4be3b6c33cee8fa91c7 (diff)
parent46110935b58cb4683bf07f3bf9bcd5c532153a3d (diff)
downloadjgit-5223cb6e5adc19e3d2bc28f384878194e9205042.tar.gz
jgit-5223cb6e5adc19e3d2bc28f384878194e9205042.zip
Merge "Fix compilation with Java 1.5"
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java
index 0636984dcf..acdfe04f89 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java
@@ -45,7 +45,7 @@ package org.eclipse.jgit.transport;
import java.io.IOException;
-/** UploadPack has already reported an error to the client. */
+/** UploadPack has already reported an error to the client.*/
public class UploadPackInternalServerErrorException extends IOException {
private static final long serialVersionUID = 1L;
@@ -56,6 +56,6 @@ public class UploadPackInternalServerErrorException extends IOException {
* root cause.
*/
public UploadPackInternalServerErrorException(Throwable why) {
- super(why);
+ initCause(why);
}
}