comparison src/ch/ethz/ssh2/compression/CompressionFactory.java @ 328:459eb9b6b84e ganymed

pickup compression from trilead
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 11:27:40 -0700
parents 9a657362519c
children
comparison
equal deleted inserted replaced
327:9a657362519c 328:459eb9b6b84e
36 36
37 static Vector<CompressorEntry> compressors = new Vector<CompressorEntry>(); 37 static Vector<CompressorEntry> compressors = new Vector<CompressorEntry>();
38 38
39 static { 39 static {
40 /* Higher Priority First */ 40 /* Higher Priority First */
41 compressors.addElement(new CompressorEntry("zlib", "com.trilead.ssh2.compression.Zlib")); 41 compressors.addElement(new CompressorEntry("zlib", "ch.ethz.ssh2.compression.Zlib"));
42 compressors.addElement(new CompressorEntry("zlib@openssh.com", "com.trilead.ssh2.compression.ZlibOpenSSH")); 42 compressors.addElement(new CompressorEntry("zlib@openssh.com", "ch.ethz.ssh2.compression.ZlibOpenSSH"));
43 compressors.addElement(new CompressorEntry("none", "")); 43 compressors.addElement(new CompressorEntry("none", ""));
44 } 44 }
45 45
46 public static String[] getDefaultCompressorList() { 46 public static String[] getDefaultCompressorList() {
47 String list[] = new String[compressors.size()]; 47 String list[] = new String[compressors.size()];