You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/03/12 17:42:38 UTC

svn commit: r922327 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java

Author: sebb
Date: Fri Mar 12 16:42:37 2010
New Revision: 922327

URL: http://svn.apache.org/viewvc?rev=922327&view=rev
Log:
Public fields should always be final, especially static fields
Fix Javadoc

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java?rev=922327&r1=922326&r2=922327&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java Fri Mar 12 16:42:37 2010
@@ -32,8 +32,8 @@ public class UnsupportedZipFeatureExcept
 
     /**
      * Creates an exception.
-     * @param the feature that is not supported
-     * @param the entry using the feature
+     * @param reason the feature that is not supported
+     * @param entry the entry using the feature
      */
     public UnsupportedZipFeatureException(Feature reason,
                                           ZipArchiveEntry entry) {
@@ -65,15 +65,15 @@ public class UnsupportedZipFeatureExcept
         /**
          * The entry is encrypted.
          */
-        public static Feature ENCRYPTION = new Feature("encryption");
+        public static final Feature ENCRYPTION = new Feature("encryption");
         /**
          * The entry used an unsupported compression method.
          */
-        public static Feature METHOD = new Feature("compression method");
+        public static final Feature METHOD = new Feature("compression method");
         /**
          * The entry uses a data descriptor.
          */
-        public static Feature DATA_DESCRIPTOR = new Feature("data descriptor");
+        public static final Feature DATA_DESCRIPTOR = new Feature("data descriptor");
         
         private final String name;