From 8b7a7cbc813653a3248d6cf3a7779e220957bc85 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 8 May 2017 21:28:02 +0200 Subject: The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website2/usageExamples/CleanupExample_pre.jpage | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 website2/usageExamples/CleanupExample_pre.jpage (limited to 'website2/usageExamples/CleanupExample_pre.jpage') diff --git a/website2/usageExamples/CleanupExample_pre.jpage b/website2/usageExamples/CleanupExample_pre.jpage deleted file mode 100644 index 9f639171..00000000 --- a/website2/usageExamples/CleanupExample_pre.jpage +++ /dev/null @@ -1,15 +0,0 @@ -import lombok.Cleanup; -import java.io.*; - -public class CleanupExample { - public static void main(String[] args) throws IOException { - @Cleanup InputStream in = new FileInputStream(args[0]); - @Cleanup OutputStream out = new FileOutputStream(args[1]); - byte[] b = new byte[10000]; - while (true) { - int r = in.read(b); - if (r == -1) break; - out.write(b, 0, r); - } - } -} -- cgit