commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r805892 - in /commons/proper/io/trunk/src/test/org/apache/commons/io: ./ comparator/ filefilter/ input/ monitor/ output/ testtools/
Date Wed, 19 Aug 2009 17:16:40 GMT
Author: sebb
Date: Wed Aug 19 17:16:37 2009
New Revision: 805892

URL: http://svn.apache.org/viewvc?rev=805892&view=rev
Log:
Add missing @Override markers

Modified:
    commons/proper/io/trunk/src/test/org/apache/commons/io/CopyUtilsTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/DemuxTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/DirectoryWalkerTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleanerTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleaningTrackerTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileDeleteStrategyTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsFileNewerTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsWaitForTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/IOCaseTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsCopyTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/LineIteratorTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/CompositeFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DefaultFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/NameFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PathFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/SizeFileComparatorTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/AndFileFilterTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/ConditionalFileFilterAbstractTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/IOFileFilterAbstractTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/OrFileFilterTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/RegexFileFilterTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/AutoCloseInputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/BrokenInputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/CloseShieldInputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullInputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullReaderTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/SwappedDataInputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/input/TeeInputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/output/BrokenOutputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/output/CloseShieldOutputStreamTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/output/FileWriterWithEncodingTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnCloseInputStream.java
    commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/CopyUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/CopyUtilsTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/CopyUtilsTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/CopyUtilsTest.java Wed Aug 19 17:16:37 2009
@@ -71,9 +71,11 @@
     // Setup
     // ----------------------------------------------------------------
 
+    @Override
     public void setUp() throws Exception {
     }
 
+    @Override
     public void tearDown() throws Exception {
     }
 

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/DemuxTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/DemuxTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/DemuxTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/DemuxTestCase.java Wed Aug 19 17:16:37 2009
@@ -179,6 +179,7 @@
             return m_buffer.toString();
         }
 
+        @Override
         public void run()
         {
             m_demux.bindStream( m_input );
@@ -221,6 +222,7 @@
             m_data = data.getBytes();
         }
 
+        @Override
         public void run()
         {
             m_demux.bindStream( m_output );

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/DirectoryWalkerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/DirectoryWalkerTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/DirectoryWalkerTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/DirectoryWalkerTestCase.java Wed Aug 19 17:16:37 2009
@@ -81,11 +81,13 @@
     }
 
     /** Set Up */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
     }
 
     /** Tear Down */
+    @Override
     protected void tearDown() throws Exception {
         super.tearDown();
     }
@@ -393,11 +395,13 @@
         }
 
         /** Handles a directory end by adding the File to the result set. */
+        @Override
         protected void handleDirectoryEnd(File directory, int depth, Collection results) {
             results.add(directory);
         }
 
         /** Handles a file by adding the File to the result set. */
+        @Override
         protected void handleFile(File file, int depth, Collection results) {
             results.add(file);
         }
@@ -416,6 +420,7 @@
         }
 
         /** Always returns false. */
+        @Override
         protected boolean handleDirectory(File directory, int depth, Collection results) {
             return false;
         }
@@ -445,6 +450,7 @@
         }
 
         /** Handles a directory end by adding the File to the result set. */
+        @Override
         protected void handleDirectoryEnd(File directory, int depth, Collection results) throws IOException {
             results.add(directory);
             if (cancelFileName.equals(directory.getName())) {
@@ -453,6 +459,7 @@
         }
 
         /** Handles a file by adding the File to the result set. */
+        @Override
         protected void handleFile(File file, int depth, Collection results) throws IOException {
             results.add(file);
             if (cancelFileName.equals(file.getName())) {
@@ -461,6 +468,7 @@
         }
 
         /** Handles Cancel. */
+        @Override
         protected void handleCancelled(File startDirectory, Collection results,
                        CancelException cancel) throws IOException {
             if (!suppressCancel) {
@@ -493,6 +501,7 @@
         }
 
         /** Handles a directory end by adding the File to the result set. */
+        @Override
         protected void handleDirectoryEnd(File directory, int depth, Collection results) throws IOException {
             results.add(directory);
             assertEquals(false, cancelled);
@@ -502,6 +511,7 @@
         }
 
         /** Handles a file by adding the File to the result set. */
+        @Override
         protected void handleFile(File file, int depth, Collection results) throws IOException {
             results.add(file);
             assertEquals(false, cancelled);
@@ -511,11 +521,13 @@
         }
 
         /** Handles Cancelled. */
+        @Override
         protected boolean handleIsCancelled(File file, int depth, Collection results) throws IOException {
             return cancelled;
         }
 
         /** Handles Cancel. */
+        @Override
         protected void handleCancelled(File startDirectory, Collection results,
                        CancelException cancel) throws IOException {
             if (!suppressCancel) {

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleanerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleanerTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleanerTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleanerTestCase.java Wed Aug 19 17:16:37 2009
@@ -33,6 +33,7 @@
  * @see FileCleaner
  */
 public class FileCleanerTestCase extends FileCleaningTrackerTestCase {
+    @Override
     protected FileCleaningTracker newInstance() {
         return FileCleaner.getInstance();
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleaningTrackerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleaningTrackerTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleaningTrackerTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileCleaningTrackerTestCase.java Wed Aug 19 17:16:37 2009
@@ -62,12 +62,14 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         theInstance = newInstance();
         getTestDirectory().mkdirs();
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
         

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileDeleteStrategyTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileDeleteStrategyTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileDeleteStrategyTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileDeleteStrategyTestCase.java Wed Aug 19 17:16:37 2009
@@ -40,10 +40,12 @@
         super(name);
     }
 
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
     }
 
+    @Override
     protected void tearDown() throws Exception {
         super.tearDown();
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileSystemUtilsTestCase.java Wed Aug 19 17:16:37 2009
@@ -56,9 +56,11 @@
         super(name);
     }
 
+    @Override
     protected void setUp() throws Exception {
     }
 
+    @Override
     protected void tearDown() throws Exception {
     }
 
@@ -146,6 +148,7 @@
 
     public void testGetFreeSpaceOS_String_Windows() throws Exception {
         FileSystemUtils fsu = new FileSystemUtils() {
+            @Override
             protected long freeSpaceWindows(String path) throws IOException {
                 return 12345L;
             }
@@ -156,6 +159,7 @@
 
     public void testGetFreeSpaceOS_String_Unix() throws Exception {
         FileSystemUtils fsu = new FileSystemUtils() {
+            @Override
             protected long freeSpaceUnix(String path, boolean kb, boolean posix) throws IOException {
                 return (kb ? 12345L : 54321);
             }
@@ -495,26 +499,33 @@
             this.bytes = lines.getBytes();
             this.cmd = cmd;
         }
+        @Override
         Process openProcess(String[] params) {
             if (cmd != null) {
                 assertEquals(cmd, params[params.length - 1]);
             }
             return new Process() {
+                @Override
                 public InputStream getErrorStream() {
                     return null;
                 }
+                @Override
                 public InputStream getInputStream() {
                     return new ByteArrayInputStream(bytes);
                 }
+                @Override
                 public OutputStream getOutputStream() {
                     return null;
                 }
+                @Override
                 public int waitFor() throws InterruptedException {
                     return exitCode;
                 }
+                @Override
                 public int exitValue() {
                     return exitCode;
                 }
+                @Override
                 public void destroy() {
                 }
             };

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanDirectoryTestCase.java Wed Aug 19 17:16:37 2009
@@ -55,6 +55,7 @@
     /**
      * @see junit.framework.TestCase#setUp()
      */
+    @Override
     protected void setUp() throws Exception {
         top.mkdirs();
     }
@@ -62,6 +63,7 @@
     /**
      * @see junit.framework.TestCase#tearDown()
      */
+    @Override
     protected void tearDown() throws Exception {
         chmod(top, 775, true);
         FileUtils.deleteDirectory(top);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsCleanSymlinksTestCase.java Wed Aug 19 17:16:37 2009
@@ -46,10 +46,12 @@
         super(name);
     }
 
+    @Override
     protected void setUp() throws Exception {
         top.mkdirs();
     }
 
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(top);
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsFileNewerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsFileNewerTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsFileNewerTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsFileNewerTestCase.java Wed Aug 19 17:16:37 2009
@@ -43,6 +43,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         getTestDirectory().mkdirs();
         createFile(m_testFile1, FILE1_SIZE);
@@ -50,6 +51,7 @@
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         m_testFile1.delete();
         m_testFile2.delete();

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsListFilesTestCase.java Wed Aug 19 17:16:37 2009
@@ -40,6 +40,7 @@
     /**
      * @see junit.framework.TestCase#setUp()
      */
+    @Override
     protected void setUp() throws Exception {
         File dir = getLocalTestDirectory();
         if (dir.exists()) {
@@ -77,6 +78,7 @@
     /**
      * @see junit.framework.TestCase#tearDown()
      */
+    @Override
     protected void tearDown() throws Exception {
         File dir = getLocalTestDirectory();
         FileUtils.deleteDirectory(dir);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsTestCase.java Wed Aug 19 17:16:37 2009
@@ -95,6 +95,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         getTestDirectory().mkdirs();
         createFile(testFile1, testFile1Size);
@@ -106,6 +107,7 @@
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
     }
@@ -1348,6 +1350,7 @@
         File src = new File( testFile1.getAbsolutePath() ) {
             // Force renameTo to fail, as if destination is on another
             // filesystem
+            @Override
             public boolean renameTo( File f ) {
                 return false;
             }
@@ -1363,11 +1366,13 @@
         File src = new File( testFile1.getAbsolutePath() ) {
             // Force renameTo to fail, as if destination is on another
             // filesystem
+            @Override
             public boolean renameTo( File f ) {
                 return false;
             }
 
             // Force delete failure
+            @Override
             public boolean delete() {
                 return false;
             }
@@ -1493,6 +1498,7 @@
         File src = new File(dir, "testMoveDirectory2Source") {
 
             // Force renameTo to fail
+            @Override
             public boolean renameTo( File dest ) {
                 return false;
             }
@@ -1671,6 +1677,7 @@
             return files;
         }
 
+        @Override
         protected void handleDirectoryStart(File directory, int depth, Collection results) throws IOException {
             // Add all directories except the starting directory
             if (depth > 0) {
@@ -1678,6 +1685,7 @@
             }
         }
 
+        @Override
         protected void handleFile(File file, int depth, Collection results) throws IOException {
             results.add(file);
         }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsWaitForTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsWaitForTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsWaitForTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FileUtilsWaitForTestCase.java Wed Aug 19 17:16:37 2009
@@ -48,11 +48,13 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         getTestDirectory().mkdirs();
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/FilenameUtilsTestCase.java Wed Aug 19 17:16:37 2009
@@ -67,6 +67,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         getTestDirectory().mkdirs();
         createFile(testFile1, testFile1Size);
@@ -78,6 +79,7 @@
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/IOCaseTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/IOCaseTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/IOCaseTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/IOCaseTestCase.java Wed Aug 19 17:16:37 2009
@@ -51,10 +51,12 @@
         super(name);
     }
 
+    @Override
     protected void setUp() throws Exception {
 
     }
 
+    @Override
     protected void tearDown() throws Exception {
     }
 

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsCopyTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsCopyTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsCopyTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsCopyTestCase.java Wed Aug 19 17:16:37 2009
@@ -78,9 +78,11 @@
     // Setup
     // ----------------------------------------------------------------
 
+    @Override
     public void setUp() throws Exception {
     }
 
+    @Override
     public void tearDown() throws Exception {
     }
 

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsTestCase.java Wed Aug 19 17:16:37 2009
@@ -63,6 +63,7 @@
 
     private File m_testFile;
 
+    @Override
     public void setUp()
     {
         try
@@ -79,6 +80,7 @@
         }
     }
 
+    @Override
     public void tearDown()
     {
         try

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java Wed Aug 19 17:16:37 2009
@@ -63,9 +63,11 @@
     // Setup
     // ----------------------------------------------------------------
 
+    @Override
     public void setUp() throws Exception {
     }
 
+    @Override
     public void tearDown() throws Exception {
     }
 

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/LineIteratorTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/LineIteratorTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/LineIteratorTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/LineIteratorTestCase.java Wed Aug 19 17:16:37 2009
@@ -54,6 +54,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         File dir = getTestDirectory();
         if (dir.exists()) {
@@ -64,6 +65,7 @@
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
     }
@@ -331,6 +333,7 @@
         
         Reader reader = new FileReader(testFile);
         LineIterator iterator = new LineIterator(reader) {
+            @Override
             protected boolean isValidLine(String line) {
                 char c = line.charAt(line.length() - 1);
                 return ((c - 48) % 3 != 1);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ComparatorAbstractTestCase.java Wed Aug 19 17:16:37 2009
@@ -56,12 +56,14 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         comparator = (AbstractFileComparator)DefaultFileComparator.DEFAULT_COMPARATOR;
         reverse = DefaultFileComparator.DEFAULT_REVERSE;
     }
 
     /** @see junit.framework.TestCase#tearDown() */
+    @Override
     protected void tearDown() throws Exception {
         comparator = null;
         reverse = null;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/CompositeFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/CompositeFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/CompositeFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/CompositeFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -58,6 +58,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = new CompositeFileComparator(SizeFileComparator.SIZE_COMPARATOR,

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DefaultFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DefaultFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DefaultFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DefaultFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -54,6 +54,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)DefaultFileComparator.DEFAULT_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/DirectoryFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -55,6 +55,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)DirectoryFileComparator.DIRECTORY_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/ExtensionFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -54,6 +54,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)ExtensionFileComparator.EXTENSION_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/LastModifiedFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -54,6 +54,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)LastModifiedFileComparator.LASTMODIFIED_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/NameFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/NameFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/NameFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/NameFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -54,6 +54,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)NameFileComparator.NAME_INSENSITIVE_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PathFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PathFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PathFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/PathFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -54,6 +54,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)PathFileComparator.PATH_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/SizeFileComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/SizeFileComparatorTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/SizeFileComparatorTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/comparator/SizeFileComparatorTest.java Wed Aug 19 17:16:37 2009
@@ -59,6 +59,7 @@
     }
 
     /** @see junit.framework.TestCase#setUp() */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
         comparator = (AbstractFileComparator)SizeFileComparator.SIZE_COMPARATOR;

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/AndFileFilterTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/AndFileFilterTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/AndFileFilterTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/AndFileFilterTestCase.java Wed Aug 19 17:16:37 2009
@@ -45,11 +45,13 @@
     super(name);
   }
   
+  @Override
   public void setUp() throws Exception {
     super.setUp();
     this.setUpTestFilters();
   }
   
+  @Override
   protected IOFileFilter buildFilterUsingAdd(final List filters) {
     AndFileFilter filter = new AndFileFilter();
     for(int i = 0; i < filters.size(); i++) {
@@ -58,38 +60,47 @@
     return filter;
   }
   
+  @Override
   protected IOFileFilter buildFilterUsingConstructor(final List filters) {
     return new AndFileFilter(filters);
   }
   
+  @Override
   protected ConditionalFileFilter getConditionalFileFilter() {
     return new AndFileFilter();
   }
   
+  @Override
   protected String getDefaultWorkingPath() {
     return DEFAULT_WORKING_PATH;
   }
   
+  @Override
   protected List getFalseResults() {
     return this.testFalseResults;
   }
   
+  @Override
   protected List getFileResults() {
     return this.testFileResults;
   }
   
+  @Override
   protected List getFilenameResults() {
     return this.testFilenameResults;
   }
   
+  @Override
   protected List getTestFilters() {
     return this.testFilters;
   }
   
+  @Override
   protected List getTrueResults() {
     return this.testTrueResults;
   }
   
+  @Override
   protected String getWorkingPathNamePropertyKey() {
     return WORKING_PATH_NAME_PROPERTY_KEY;
   }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/ConditionalFileFilterAbstractTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/ConditionalFileFilterAbstractTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/ConditionalFileFilterAbstractTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/ConditionalFileFilterAbstractTestCase.java Wed Aug 19 17:16:37 2009
@@ -37,6 +37,7 @@
     super(name);
   }
   
+  @Override
   public void setUp() throws Exception {
     this.workingPath = this.determineWorkingDirectoryPath(this.getWorkingPathNamePropertyKey(), this.getDefaultWorkingPath());
     this.file = new File(this.workingPath, TEST_FILE_NAME_PREFIX + 1 + TEST_FILE_TYPE);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java Wed Aug 19 17:16:37 2009
@@ -55,10 +55,12 @@
         return new TestSuite(FileFilterTestCase.class);
     }
 
+    @Override
     public void setUp() {
         getTestDirectory().mkdirs();
     }
 
+    @Override
     public void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/IOFileFilterAbstractTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/IOFileFilterAbstractTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/IOFileFilterAbstractTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/IOFileFilterAbstractTestCase.java Wed Aug 19 17:16:37 2009
@@ -105,11 +105,13 @@
 
     private boolean invoked;
     
+    @Override
     public boolean accept(File file) {
       setInvoked(true);
       return super.accept(file);
     }
     
+    @Override
     public boolean accept(File file, String str) {
       setInvoked(true);
       return super.accept(file, str);
@@ -132,11 +134,13 @@
     
     private boolean invoked;
     
+    @Override
     public boolean accept(File file) {
       setInvoked(true);
       return super.accept(file);
     }
     
+    @Override
     public boolean accept(File file, String str) {
       setInvoked(true);
       return super.accept(file, str);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/OrFileFilterTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/OrFileFilterTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/OrFileFilterTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/OrFileFilterTestCase.java Wed Aug 19 17:16:37 2009
@@ -45,11 +45,13 @@
     super(name);
   }
   
+  @Override
   public void setUp() throws Exception {
     super.setUp();
     this.setUpTestFilters();
   }
   
+  @Override
   protected IOFileFilter buildFilterUsingAdd(final List filters) {
     OrFileFilter filter = new OrFileFilter();
     for(int i = 0; i < filters.size(); i++) {
@@ -58,38 +60,47 @@
     return filter;
   }
   
+  @Override
   protected IOFileFilter buildFilterUsingConstructor(final List filters) {
     return new OrFileFilter(filters);
   }
   
+  @Override
   protected ConditionalFileFilter getConditionalFileFilter() {
     return new OrFileFilter();
   }
   
+  @Override
   protected String getDefaultWorkingPath() {
     return DEFAULT_WORKING_PATH;
   }
   
+  @Override
   protected List getFalseResults() {
     return this.testFalseResults;
   }
   
+  @Override
   protected List getFileResults() {
     return this.testFileResults;
   }
   
+  @Override
   protected List getFilenameResults() {
     return this.testFilenameResults;
   }
   
+  @Override
   protected List getTestFilters() {
     return this.testFilters;
   }
   
+  @Override
   protected List getTrueResults() {
     return this.testTrueResults;
   }
   
+  @Override
   protected String getWorkingPathNamePropertyKey() {
     return WORKING_PATH_NAME_PROPERTY_KEY;
   }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/RegexFileFilterTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/RegexFileFilterTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/RegexFileFilterTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/RegexFileFilterTestCase.java Wed Aug 19 17:16:37 2009
@@ -43,10 +43,12 @@
         return new TestSuite(RegexFileFilterTestCase.class);
     }
 
+    @Override
     public void setUp() {
         getTestDirectory().mkdirs();
     }
 
+    @Override
     public void tearDown() throws Exception {
         FileUtils.deleteDirectory(getTestDirectory());
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/AutoCloseInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/AutoCloseInputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/AutoCloseInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/AutoCloseInputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -33,9 +33,11 @@
 
     private boolean closed;
 
+    @Override
     protected void setUp() {
         data = new byte[] { 'x', 'y', 'z' };
         stream = new AutoCloseInputStream(new ByteArrayInputStream(data) {
+            @Override
             public void close() {
                 closed = true;
             }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/BrokenInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/BrokenInputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/BrokenInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/BrokenInputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -30,6 +30,7 @@
 
     private InputStream stream;
 
+    @Override
     protected void setUp() {
         exception = new IOException("test exception");
         stream = new BrokenInputStream(exception);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/CloseShieldInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/CloseShieldInputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/CloseShieldInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/CloseShieldInputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -35,9 +35,11 @@
 
     private boolean closed;
 
+    @Override
     protected void setUp() {
         data = new byte[] { 'x', 'y', 'z' };
         original = new ByteArrayInputStream(data) {
+            @Override
             public void close() {
                 closed = true;
             }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullInputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullInputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -35,11 +35,13 @@
     }
 
     /** Set up */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
     }
 
     /** Tear Down */
+    @Override
     protected void tearDown() throws Exception {
         super.tearDown();
     }
@@ -241,9 +243,11 @@
         public TestNullInputStream(int size, boolean markSupported, boolean throwEofException) {
             super(size, markSupported, throwEofException);
         }
+        @Override
         protected int processByte() {
             return ((int)getPosition() - 1);
         }
+        @Override
         protected void processBytes(byte[] bytes, int offset, int length) {
             int startPos = (int)getPosition() - length;
             for (int i = offset; i < length; i++) {

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullReaderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullReaderTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullReaderTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/NullReaderTest.java Wed Aug 19 17:16:37 2009
@@ -35,11 +35,13 @@
     }
 
     /** Set up */
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
     }
 
     /** Tear Down */
+    @Override
     protected void tearDown() throws Exception {
         super.tearDown();
     }
@@ -238,9 +240,11 @@
         public TestNullReader(int size, boolean markSupported, boolean throwEofException) {
             super(size, markSupported, throwEofException);
         }
+        @Override
         protected int processChar() {
             return ((int)getPosition() - 1);
         }
+        @Override
         protected void processChars(char[] chars, int offset, int length) {
             int startPos = (int)getPosition() - length;
             for (int i = offset; i < length; i++) {

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/SwappedDataInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/SwappedDataInputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/SwappedDataInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/SwappedDataInputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -39,6 +39,7 @@
         super(name);
     }
 
+    @Override
     public void setUp() {
         bytes = new byte[] {
             0x01,
@@ -54,6 +55,7 @@
         this.sdis = new SwappedDataInputStream( bais );
     }
 
+    @Override
     public void tearDown() {
         this.sdis = null;
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/input/TeeInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/TeeInputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/input/TeeInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/input/TeeInputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -33,6 +33,7 @@
 
     private ByteArrayOutputStream output;
 
+    @Override
     protected void setUp() throws Exception {
         InputStream input = new ByteArrayInputStream("abc".getBytes(ASCII));
         output = new ByteArrayOutputStream();

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/monitor/FilesystemObserverTestCase.java Wed Aug 19 17:16:37 2009
@@ -49,6 +49,7 @@
         super(name);
     }
 
+    @Override
     protected void setUp() throws Exception {
         testDir = new File(new File("."), "test-monitor");
         if (testDir.exists()) {
@@ -88,6 +89,7 @@
         }
     }
 
+    @Override
     protected void tearDown() throws Exception {
         FileUtils.deleteDirectory(testDir);
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/output/BrokenOutputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/output/BrokenOutputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/output/BrokenOutputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/output/BrokenOutputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -30,6 +30,7 @@
 
     private OutputStream stream;
 
+    @Override
     protected void setUp() {
         exception = new IOException("test exception");
         stream = new BrokenOutputStream(exception);

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/output/CloseShieldOutputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/output/CloseShieldOutputStreamTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/output/CloseShieldOutputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/output/CloseShieldOutputStreamTest.java Wed Aug 19 17:16:37 2009
@@ -32,8 +32,10 @@
 
     private boolean closed;
 
+    @Override
     protected void setUp() {
         original = new ByteArrayOutputStream() {
+            @Override
             public void close() {
                 closed = true;
             }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/output/FileWriterWithEncodingTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/output/FileWriterWithEncodingTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/output/FileWriterWithEncodingTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/output/FileWriterWithEncodingTest.java Wed Aug 19 17:16:37 2009
@@ -46,6 +46,7 @@
         super(name);
     }
 
+    @Override
     public void setUp() {
         File encodingFinder = new File(getTestDirectory(), "finder.txt");
         OutputStreamWriter out = null;
@@ -66,6 +67,7 @@
         textContent = new String(arr);
     }
 
+    @Override
     public void tearDown() {
         defaultEncoding = null;
         file1.delete();

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/output/LockableFileWriterTest.java Wed Aug 19 17:16:37 2009
@@ -41,6 +41,7 @@
         super(name);
     }
 
+    @Override
     public void setUp() {
         file = new File(getTestDirectory(), "testlockfile");
         lockDir = new File(System.getProperty("java.io.tmpdir"));
@@ -49,6 +50,7 @@
         altLockFile = new File(altLockDir, file.getName() + ".lck");
     }
 
+    @Override
     public void tearDown() {
         file.delete();
         lockFile.delete();

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnCloseInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnCloseInputStream.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnCloseInputStream.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnCloseInputStream.java Wed Aug 19 17:16:37 2009
@@ -38,6 +38,7 @@
     }
 
     /** @see java.io.InputStream#close() */
+    @Override
     public void close() throws IOException {
         throw new AssertionFailedError("close() was called on OutputStream");
     }

Modified: commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java?rev=805892&r1=805891&r2=805892&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java (original)
+++ commons/proper/io/trunk/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java Wed Aug 19 17:16:37 2009
@@ -45,6 +45,7 @@
     }
 
     /** @see java.io.OutputStream#flush() */
+    @Override
     public void flush() throws IOException {
         if (yellForFlush) {
             throw new AssertionFailedError("flush() was called on OutputStream");
@@ -53,6 +54,7 @@
     }
 
     /** @see java.io.OutputStream#close() */
+    @Override
     public void close() throws IOException {
         if (yellForClose) {
             throw new AssertionFailedError("close() was called on OutputStream");



Mime
View raw message