diff src/ch/ethz/ssh2/compression/CompressionFactory.java @ 327:9a657362519c ganymed

pickup compression from trilead
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 11:18:21 -0700
parents 97da8c5fb40a
children 459eb9b6b84e
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/compression/CompressionFactory.java	Thu Jul 31 11:15:15 2014 -0700
+++ b/src/ch/ethz/ssh2/compression/CompressionFactory.java	Thu Jul 31 11:18:21 2014 -0700
@@ -59,7 +59,7 @@
             getEntry(compressorCandidates[i]);
     }
 
-    public static ICompressor createCompressor(String type) {
+    public static Compressor createCompressor(String type) {
         try {
             CompressorEntry ce = getEntry(type);
 
@@ -67,7 +67,7 @@
                 return null;
 
             Class<?> cc = Class.forName(ce.compressorClass);
-            ICompressor cmp = (ICompressor) cc.newInstance();
+            Compressor cmp = (Compressor) cc.newInstance();
             return cmp;
         }
         catch (Exception e) {