From 6ef421167a2345f972907b68c3376c262924eb37 Mon Sep 17 00:00:00 2001 From: Jean-Daniel Cryans Date: Thu, 21 Jan 2010 00:17:50 +0000 Subject: [PATCH] HBASE-2150 Deprecated HBC(Configuration) constructor doesn't call this() git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@901455 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/java/org/apache/hadoop/hbase/HBaseConfiguration.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 9e2aaac67a8..ea1c86e012c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -184,6 +184,7 @@ Release 0.21.0 - Unreleased (Lars Francke via Stack) HBASE-2146 RPC related metrics are missing in 0.20.3 since recent changes (Gary Helmling via Lars George) + HBASE-2150 Deprecated HBC(Configuration) constructor doesn't call this() IMPROVEMENTS HBASE-1760 Cleanup TODOs in HTable diff --git a/src/java/org/apache/hadoop/hbase/HBaseConfiguration.java b/src/java/org/apache/hadoop/hbase/HBaseConfiguration.java index 2757e668a8a..48cd7c5e972 100644 --- a/src/java/org/apache/hadoop/hbase/HBaseConfiguration.java +++ b/src/java/org/apache/hadoop/hbase/HBaseConfiguration.java @@ -53,11 +53,10 @@ public class HBaseConfiguration extends Configuration { @Deprecated public HBaseConfiguration(final Configuration c) { //TODO:replace with private constructor + this(); for (Entrye: c) { set(e.getKey(), e.getValue()); } - LOG.warn("instantinating HBaseConfiguration() is deprecated. Please use " + - "HBaseConfiguration#create(conf) to construct a plain Configuration"); } public static Configuration addHbaseResources(Configuration conf) {