deprecating a constructor that used deprecated method

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2008-08-02 16:19:15 +00:00
parent 60fff07d87
commit 686e3fc804
1 changed files with 3 additions and 0 deletions

View File

@ -54,7 +54,10 @@ public class DirectSolrConnection
/**
* Initialize using the static singleton SolrCore.getSolrCore().
*
* @deprecated use {@link #DirectSolrConnection(SolrCore)}
*/
@Deprecated
public DirectSolrConnection()
{
this( SolrCore.getSolrCore() );