From 8787176ef1cd4c7b7fc6e312bdf680f384c38467 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sun, 12 Apr 2015 01:27:12 +0200 Subject: [PATCH] Silence unchecked conversion warning in TransportSftp Change-Id: I3dc8e0b483072bdf193ae4190a60d1867ebefd12 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/transport/TransportSftp.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java index c47645cd73..fa073ae2af 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java @@ -227,6 +227,7 @@ public class TransportSftp extends SshTransport implements WalkTransport { Collection getPackNames() throws IOException { final List packs = new ArrayList(); try { + @SuppressWarnings("unchecked") final Collection list = ftp.ls("pack"); //$NON-NLS-1$ final HashMap files; final HashMap mtimes; -- 2.39.5