From 8468fae293fe2f8525e4fb23a98bdec0a6923b52 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Wed, 10 Jun 2015 01:39:52 +0200 Subject: [PATCH] Document empty catch block to silence warning Change-Id: I643f916e394ca95272b58d0b5826e81cc1092f2f Signed-off-by: Matthias Sohn --- org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java index 44b8778ee..6ed9bc8f1 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java @@ -246,6 +246,7 @@ void sendString(final String s) throws IOException { try { postReceive.onPostReceive(this, filterCommands(Result.OK)); } catch (Throwable e) { + // empty } throw new UnpackException(unpackError); }