HDFS-5938. Make BlockReaderFactory#BlockReaderPeer a static class to avoid a findbugs warning (cmccabe)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1567767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Colin McCabe 2014-02-12 22:01:53 +00:00
parent beb0d25d2a
commit b3af8edc26
2 changed files with 4 additions and 1 deletions

View File

@ -422,6 +422,9 @@ Release 2.4.0 - UNRELEASED
HDFS-5879. Some TestHftpFileSystem tests do not close streams. HDFS-5879. Some TestHftpFileSystem tests do not close streams.
(Gera Shegalov via suresh) (Gera Shegalov via suresh)
HDFS-5938. Make BlockReaderFactory#BlockReaderPeer a static class to avoid
a findbugs warning. (cmccabe)
Release 2.3.1 - UNRELEASED Release 2.3.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -663,7 +663,7 @@ public class BlockReaderFactory implements ShortCircuitReplicaCreator {
return null; return null;
} }
private class BlockReaderPeer { private static class BlockReaderPeer {
final Peer peer; final Peer peer;
final boolean fromCache; final boolean fromCache;