HDFS-4074. Remove the unused default constructor from INode. Contributed by Brandon Li

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2012-10-18 21:29:12 +00:00
parent c1bd54daa3
commit 4af8761e4c
2 changed files with 3 additions and 7 deletions

View File

@ -400,6 +400,9 @@ Release 2.0.3-alpha - Unreleased
HDFS-4073. Two minor improvements to FSDirectory. (Jing Zhao via szetszwo) HDFS-4073. Two minor improvements to FSDirectory. (Jing Zhao via szetszwo)
HDFS-4074. Remove the unused default constructor from INode. (Brandon Li
via szetszwo)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -96,13 +96,6 @@ abstract class INode implements Comparable<byte[]> {
} }
} }
protected INode() {
name = null;
parent = null;
modificationTime = 0;
accessTime = 0;
}
INode(PermissionStatus permissions, long mTime, long atime) { INode(PermissionStatus permissions, long mTime, long atime) {
this.name = null; this.name = null;
this.parent = null; this.parent = null;