From 46110935b58cb4683bf07f3bf9bcd5c532153a3d Mon Sep 17 00:00:00 2001 From: Carsten Pfeiffer Date: Wed, 29 Jun 2011 09:45:31 +0200 Subject: [PATCH] Fix compilation with Java 1.5 Change-Id: I785f59fcf2018cd923d4d1617b923049dbde9809 --- .../transport/UploadPackInternalServerErrorException.java | 4 ++-- 1 file 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); } } -- 2.39.5