You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Bill Havanki (JIRA)" <ji...@apache.org> on 2014/07/14 21:52:04 UTC
[jira] [Created] (ACCUMULO-2992) Eliminate (use of)
AccumuloConfiguration.getSiteConfiguration()
Bill Havanki created ACCUMULO-2992:
--------------------------------------
Summary: Eliminate (use of) AccumuloConfiguration.getSiteConfiguration()
Key: ACCUMULO-2992
URL: https://issues.apache.org/jira/browse/ACCUMULO-2992
Project: Accumulo
Issue Type: Improvement
Reporter: Bill Havanki
Assignee: Bill Havanki
Priority: Trivial
Fix For: 1.6.1, 1.7.0
The static method {{AccumuloConfiguration.getSiteConfiguration()}} has been deprecated for a long time. [~ecn] got rid of a lot of uses in ACCUMULO-2401. This ticket is to get rid of the rest. Each call can be replaced with:
{code}
SiteConfiguration.getInstance(DefaultConfiguration.getInstance());
{code}
The method itself can also be eliminated, as {{AccumuloConfiguration}} is not public API, assuming the elimination would not cause a problem.
--
This message was sent by Atlassian JIRA
(v6.2#6252)