HDFS-6873. Constants in CommandWithDestination should be static. (clamb)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1618975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Charles Lamb 2014-08-19 20:43:54 +00:00
parent 14b01dd046
commit a4ee77b65f
2 changed files with 4 additions and 2 deletions

View File

@ -49,6 +49,8 @@ fs-encryption (Unreleased)
HADOOP-10919. Copy command should preserve raw.* namespace HADOOP-10919. Copy command should preserve raw.* namespace
extended attributes. (clamb) extended attributes. (clamb)
HDFS-6873. Constants in CommandWithDestination should be static. (clamb)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -61,12 +61,12 @@ abstract class CommandWithDestination extends FsCommand {
* The name of the raw xattr namespace. It would be nice to use * 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. * 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. * The name of the reserved raw directory.
*/ */
private final String RESERVED_RAW = "/.reserved/raw"; private static final String RESERVED_RAW = "/.reserved/raw";
/** /**
* *