ソースを参照

Remove usage of IOException(Throwable) not available on Java 5

Change-Id: I386aa77fb78bed3fb38a3ce46eaeb47df95fdde3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v3.4.0.201405281120-rc2
Matthias Sohn 10年前
コミット
1f1e93214b
1個のファイルの変更3行の追加1行の削除
  1. 3
    1
      org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java

+ 3
- 1
org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java ファイルの表示

@@ -517,7 +517,9 @@ abstract class HttpAuthMethod {
conn.setRequestProperty(HDR_AUTHORIZATION, getType().name()
+ " " + Base64.encodeBytes(token)); //$NON-NLS-1$
} catch (GSSException e) {
throw new IOException(e);
IOException ioe = new IOException();
ioe.initCause(e);
throw ioe;
}
}
}

読み込み中…
キャンセル
保存