HDFS-14003. Fix findbugs warning in trunk for FSImageFormatPBINode. Contributed by Yiqun Lin.

This commit is contained in:
Inigo Goiri 2018-10-18 10:53:30 -07:00
parent 1e78dfca40
commit 0e56c883cd

View File

@ -660,7 +660,6 @@ private void save(OutputStream out, INodeFile n) throws IOException {
} }
private void save(OutputStream out, INodeSymlink n) throws IOException { private void save(OutputStream out, INodeSymlink n) throws IOException {
SaverContext state = parent.getSaverContext();
INodeSection.INodeSymlink.Builder b = INodeSection.INodeSymlink INodeSection.INodeSymlink.Builder b = INodeSection.INodeSymlink
.newBuilder() .newBuilder()
.setPermission(buildPermissionStatus(n)) .setPermission(buildPermissionStatus(n))