You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cl...@apache.org on 2014/08/19 22:43:54 UTC

svn commit: r1618975 - in /hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common: CHANGES-fs-encryption.txt src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java

Author: clamb
Date: Tue Aug 19 20:43:54 2014
New Revision: 1618975

URL: http://svn.apache.org/r1618975
Log:
HDFS-6873. Constants in CommandWithDestination should be static. (clamb)

Modified:
    hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/CHANGES-fs-encryption.txt
    hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java

Modified: hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/CHANGES-fs-encryption.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/CHANGES-fs-encryption.txt?rev=1618975&r1=1618974&r2=1618975&view=diff
==============================================================================
--- hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/CHANGES-fs-encryption.txt (original)
+++ hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/CHANGES-fs-encryption.txt Tue Aug 19 20:43:54 2014
@@ -49,6 +49,8 @@ fs-encryption (Unreleased)
     HADOOP-10919. Copy command should preserve raw.* namespace
     extended attributes. (clamb)
 
+    HDFS-6873. Constants in CommandWithDestination should be static. (clamb)
+
   OPTIMIZATIONS
 
   BUG FIXES

Modified: hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java?rev=1618975&r1=1618974&r2=1618975&view=diff
==============================================================================
--- hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java (original)
+++ hadoop/common/branches/fs-encryption/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java Tue Aug 19 20:43:54 2014
@@ -61,12 +61,12 @@ abstract class CommandWithDestination ex
    * The name of the raw xattr namespace. It would be nice to use
    * XAttr.RAW.name() but we can't reference the hadoop-hdfs project.
    */
-  private final String RAW = "raw.";
+  private static final String RAW = "raw.";
 
   /**
    * The name of the reserved raw directory.
    */
-  private final String RESERVED_RAW = "/.reserved/raw";
+  private static final String RESERVED_RAW = "/.reserved/raw";
 
   /**
    *