From 686e3fc80477b9b7ccf3ef5f3a847fc8ce3b4976 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Sat, 2 Aug 2008 16:19:15 +0000 Subject: [PATCH] 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 --- .../src/org/apache/solr/servlet/DirectSolrConnection.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java b/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java index d38abcba0dc..d25f3498496 100644 --- a/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java +++ b/src/webapp/src/org/apache/solr/servlet/DirectSolrConnection.java @@ -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() );