summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-09-22 14:17:42 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-09-25 22:06:12 +0200
commit7b79feb07891dde03e7fd0e7f89b630624be1272 (patch)
tree8840680208b76e9351218fd676b05dacb28b93f3 /org.eclipse.jgit
parentf8d91c27361ef094b550269a6a9069b455b44946 (diff)
downloadjgit-7b79feb07891dde03e7fd0e7f89b630624be1272.tar.gz
jgit-7b79feb07891dde03e7fd0e7f89b630624be1272.zip
[errorprone] InternalFetchConnection: Suppress CatchAndPrintStackTrace
Handled by the client side pipe handling. See https://errorprone.info/bugpattern/CatchAndPrintStackTrace Change-Id: I4ae19dbd0d20d1a75b6587ce7ad36f58cb58dbc2
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/InternalFetchConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/InternalFetchConnection.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/InternalFetchConnection.java
index 9a699a877f..05736e1107 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/InternalFetchConnection.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/InternalFetchConnection.java
@@ -70,6 +70,7 @@ class InternalFetchConnection<C> extends BasePackFetchConnection {
worker = new Thread("JGit-Upload-Pack") { //$NON-NLS-1$
@Override
+ @SuppressWarnings("CatchAndPrintStackTrace")
public void run() {
try {
final UploadPack rp = uploadPackFactory.create(req, remote);