Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

deprecating a constructor that used deprecated method

Ryan McKinley686e3fc80477
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() );