]> source.dussan.org Git - jgit.git/commitdiff
Silence unchecked conversion warning in TransportSftp 10/45710/7
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 11 Apr 2015 23:27:12 +0000 (01:27 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 28 May 2015 22:15:33 +0000 (00:15 +0200)
Change-Id: I3dc8e0b483072bdf193ae4190a60d1867ebefd12
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java

index c47645cd73aef04031320c1956af9c4442069a20..fa073ae2afe6a0cc6e4057bfe50aa7098f5ee5ce 100644 (file)
@@ -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;