I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 949a8901 authored by zzz's avatar zzz
Browse files

comment out mains

parent d608f450
No related branches found
No related tags found
No related merge requests found
......@@ -211,6 +211,7 @@ public class ResettableGZIPInputStream extends InflaterInputStream {
}
}
/******
public static void main(String args[]) {
for (int i = 129; i < 64*1024; i++) {
if (!test(i)) return;
......@@ -279,4 +280,5 @@ public class ResettableGZIPInputStream extends InflaterInputStream {
return false;
}
}
******/
}
......@@ -122,6 +122,7 @@ public class ResettableGZIPOutputStream extends DeflaterOutputStream {
super.write(buf, off, len);
}
/******
public static void main(String args[]) {
for (int i = 0; i < 2; i++)
test();
......@@ -165,12 +166,13 @@ public class ResettableGZIPOutputStream extends DeflaterOutputStream {
} catch (Exception e) { e.printStackTrace(); }
}
/** just for testing/verification, expose the CRC32 values */
// just for testing/verification, expose the CRC32 values
private static final class SnoopGZIPOutputStream extends GZIPOutputStream {
public SnoopGZIPOutputStream(OutputStream o) throws IOException {
super(o);
}
public CRC32 getCRC() { return crc; }
}
******/
}
......@@ -48,6 +48,7 @@ public class ReusableGZIPInputStream extends ResettableGZIPInputStream {
private ReusableGZIPInputStream() { super(); }
/*******
public static void main(String args[]) {
for (int i = 0; i < 2; i++)
test();
......@@ -127,5 +128,6 @@ public class ReusableGZIPInputStream extends ResettableGZIPInputStream {
return false;
}
}
******/
}
......@@ -65,6 +65,7 @@ public class ReusableGZIPOutputStream extends ResettableGZIPOutputStream {
/** pull the contents of the stream written */
public byte[] getData() { return _buffer.toByteArray(); }
/******
public static void main(String args[]) {
try {
for (int i = 0; i < 2; i++)
......@@ -129,5 +130,6 @@ public class ReusableGZIPOutputStream extends ResettableGZIPOutputStream {
return false;
}
}
*****/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment