diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2015-04-12 01:27:12 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-05-29 00:15:33 +0200 |
commit | 8787176ef1cd4c7b7fc6e312bdf680f384c38467 (patch) | |
tree | 071b3a05aaa5f89729b9127dff7ef8a49464adf1 /org.eclipse.jgit | |
parent | e013bcdcc638be71a7639c52dfcfa33445d49fd5 (diff) | |
download | jgit-8787176ef1cd4c7b7fc6e312bdf680f384c38467.tar.gz jgit-8787176ef1cd4c7b7fc6e312bdf680f384c38467.zip |
Silence unchecked conversion warning in TransportSftp
Change-Id: I3dc8e0b483072bdf193ae4190a60d1867ebefd12
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java | 1 |
1 files changed, 1 insertions, 0 deletions
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<String> getPackNames() throws IOException { final List<String> packs = new ArrayList<String>(); try { + @SuppressWarnings("unchecked") final Collection<ChannelSftp.LsEntry> list = ftp.ls("pack"); //$NON-NLS-1$ final HashMap<String, ChannelSftp.LsEntry> files; final HashMap<String, Integer> mtimes; |