diff --git a/src/chars/foo.html b/src/chars/foo.html deleted file mode 100644 index 6e272c8..0000000 Binary files a/src/chars/foo.html and /dev/null differ diff --git a/src/io/src/com/colloquial/io/CopyFile.java b/src/io/src/com/colloquial/io/CopyFile.java index 6e82b85..e4d7087 100755 --- a/src/io/src/com/colloquial/io/CopyFile.java +++ b/src/io/src/com/colloquial/io/CopyFile.java @@ -1,7 +1,5 @@ package com.colloquial.io; -import com.aliasi.util.Streams; - import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; @@ -29,34 +27,5 @@ public static void main(String[] args) /*x*/ } - public static void main2(String[] args) - throws FileNotFoundException, IOException { - - File fileIn = new File(args[0]); - File fileOut = new File(args[1]); - /*x CopyFile.2 */ - InputStream in = null; - try { - in = new FileInputStream(fileIn); - OutputStream out = null; - try { - out = new FileOutputStream(fileOut); - byte[] buf = new byte[8192]; - int n; - try { - while ((n = in.read(buf)) >= 0) - out.write(buf,0,n); - } catch (IOException e) { - fileOut.delete(); - throw e; - } - } finally { - Streams.closeQuietly(out); - } - } finally { - Streams.closeQuietly(in); - } - /*x*/ - } } \ No newline at end of file