From 2333388e47ce0fe069ef528fbf751303a62ed5e9 Mon Sep 17 00:00:00 2001 From: Colin McCabe Date: Fri, 28 Feb 2014 18:47:31 +0000 Subject: [PATCH] HDFS-6030. Remove an unused constructor in INode.java (yzhang via cmccabe) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1573031 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../java/org/apache/hadoop/hdfs/server/namenode/INode.java | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 517b9ae6fd..39d4955960 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -367,6 +367,9 @@ Release 2.4.0 - UNRELEASED HDFS-6025. Update findbugsExcludeFile.xml. (szetszwo) + HDFS-6030. Remove an unused constructor in INode.java. (yzhang via + cmccabe) + OPTIMIZATIONS HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java index 9242812bb7..b08324f192 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java @@ -752,11 +752,6 @@ public abstract class INode implements INodeAttributes, Diff.Element { */ private List toDeleteList; - public BlocksMapUpdateInfo(List toDeleteList) { - this.toDeleteList = toDeleteList == null ? new ArrayList() - : toDeleteList; - } - public BlocksMapUpdateInfo() { toDeleteList = new ChunkedArrayList(); }