commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1627980 - in /commons/proper/compress/trunk/src: main/java/org/apache/commons/compress/archivers/sevenz/CLI.java test/java/org/apache/commons/compress/utils/IOUtilsTest.java
Date Sat, 27 Sep 2014 15:33:32 GMT
Author: ggregory
Date: Sat Sep 27 15:33:32 2014
New Revision: 1627980

URL: http://svn.apache.org/r1627980
Log:
Add missing '@Override' annotations.

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java?rev=1627980&r1=1627979&r2=1627980&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
Sat Sep 27 15:33:32 2014
@@ -27,6 +27,7 @@ public class CLI {
 
     private static enum Mode {
         LIST("Analysing") {
+            @Override
             public void takeAction(SevenZFile archive, SevenZArchiveEntry entry) {
                 System.out.print(entry.getName());
                 if (entry.isDirectory()) {
@@ -64,6 +65,7 @@ public class CLI {
             }
         },
         EXTRACT("Extracting") {
+            @Override
             public void takeAction(SevenZFile archive, SevenZArchiveEntry entry) 
                 throws IOException {
                 File outFile = new File(entry.getName());

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java?rev=1627980&r1=1627979&r2=1627980&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
Sat Sep 27 15:33:32 2014
@@ -45,6 +45,7 @@ public class IOUtilsTest {
         skip(new StreamWrapper() {
                 public InputStream wrap(InputStream toWrap) {
                     return new FilterInputStream(toWrap) {
+                        @Override
                         public long skip(long s) {
                             return 0;
                         }
@@ -59,6 +60,7 @@ public class IOUtilsTest {
                 public InputStream wrap(final InputStream toWrap) {
                     return new FilterInputStream(toWrap) {
                         boolean skipped;
+                        @Override
                         public long skip(long s) throws IOException {
                             if (!skipped) {
                                 toWrap.skip(5);



Mime
View raw message