Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Pfeiffer2011-06-29 07:45:31 +0000
committerCarsten Pfeiffer2011-06-29 07:45:31 +0000
commit46110935b58cb4683bf07f3bf9bcd5c532153a3d (patch)
tree4e60287d30e2f503117c14879c4675793d055f37
parent553920088dcf93f27e6fd2042658c23ef6ea7cba (diff)
downloadjgit-46110935b58cb4683bf07f3bf9bcd5c532153a3d.tar.gz
jgit-46110935b58cb4683bf07f3bf9bcd5c532153a3d.tar.xz
jgit-46110935b58cb4683bf07f3bf9bcd5c532153a3d.zip
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);
}
}

Back to the top