]> source.dussan.org Git - jgit.git/commitdiff
Fix compilation with Java 1.5 95/3795/3
authorCarsten Pfeiffer <carsten.pfeiffer@gebit.de>
Wed, 29 Jun 2011 07:45:31 +0000 (09:45 +0200)
committerCarsten Pfeiffer <carsten.pfeiffer@gebit.de>
Wed, 29 Jun 2011 07:45:31 +0000 (09:45 +0200)
Change-Id: I785f59fcf2018cd923d4d1617b923049dbde9809

org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java

index 0636984dcff63e398bf365e06dfd3aeac71d9ff4..acdfe04f89ad77d90dd2ac56a89a30a08bfaa860 100644 (file)
@@ -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);
        }
 }