summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-04-12 01:27:12 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2015-05-29 00:15:33 +0200
commit8787176ef1cd4c7b7fc6e312bdf680f384c38467 (patch)
tree071b3a05aaa5f89729b9127dff7ef8a49464adf1 /org.eclipse.jgit
parente013bcdcc638be71a7639c52dfcfa33445d49fd5 (diff)
downloadjgit-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.java1
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;