The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’.

This commit is contained in:
Reinier Zwitserloot committed 2017-05-29 21:02:54 +02:00
1 parent 72fd50b9f1
commit 8b7a7cbc81
185 files changed
+25 -25

No files matched your search

@@ -0,0 +1,26 @@
import java.io.*;
public class CleanupExample {
public static void main(String[] args) throws IOException {
InputStream in = new FileInputStream(args[0]);
try {
OutputStream out = new FileOutputStream(args[1]);
try {
byte[] b = new byte[10000];
while (true) {
int r = in.read(b);
if (r == -1) break;
out.write(b, 0, r);
}
} finally {
if (out != null) {
out.close();
}
}
} finally {
if (in != null) {
in.close();
}
}
}
}