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
This commit is contained in:
Jean-Daniel Cryans 2010-01-21 00:17:50 +00:00
parent 6204f20d8b
commit 6ef421167a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -53,11 +53,10 @@ public class HBaseConfiguration extends Configuration {
@Deprecated
public HBaseConfiguration(final Configuration c) {
//TODO:replace with private constructor
this();
for (Entry<String, String>e: 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) {