Author: yliu Date: Wed Aug 6 04:43:58 2014 New Revision: 1616092 URL: http://svn.apache.org/r1616092 Log: HDFS-6817. Fix findbugs and other warnings. (yliu)
Modified: hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/CHANGES-fs-encryption.txt hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EncryptionZoneManager.java Modified: hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/CHANGES-fs-encryption.txt URL: http://svn.apache.org/viewvc/hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/CHANGES-fs-encryption.txt?rev=1616092&r1=1616091&r2=1616092&view=diff ============================================================================== --- hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/CHANGES-fs-encryption.txt (original) +++ hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/CHANGES-fs-encryption.txt Wed Aug 6 04:43:58 2014 @@ -90,3 +90,5 @@ fs-encryption (Unreleased) HDFS-6814. Mistakenly dfs.namenode.list.encryption.zones.num.responses configured as boolean. (umamahesh) + + HDFS-6817. Fix findbugs and other warnings. (yliu) Modified: hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EncryptionZoneManager.java URL: http://svn.apache.org/viewvc/hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EncryptionZoneManager.java?rev=1616092&r1=1616091&r2=1616092&view=diff ============================================================================== --- hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EncryptionZoneManager.java (original) +++ hadoop/common/branches/fs-encryption/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EncryptionZoneManager.java Wed Aug 6 04:43:58 2014 @@ -41,7 +41,7 @@ public class EncryptionZoneManager { * external representation of an EZ is embodied in an EncryptionZone and * contains the EZ's pathname. */ - private class EncryptionZoneInt { + private static class EncryptionZoneInt { private final String keyName; private final long inodeId;