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/branches/branch-2@1567768 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Colin McCabe 2014-02-12 22:02:23 +00:00
parent ccdf21bfe2
commit 3e9e801868
2 changed files with 4 additions and 1 deletions

View File

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

View File

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