You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2015/11/02 11:14:18 UTC

svn commit: r1711930 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/core/ solr/core/src/java/org/apache/solr/core/PluginBag.java

Author: noble
Date: Mon Nov  2 10:14:17 2015
New Revision: 1711930

URL: http://svn.apache.org/viewvc?rev=1711930&view=rev
Log:
added javadocs

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/core/PluginBag.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/core/PluginBag.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/core/PluginBag.java?rev=1711930&r1=1711929&r2=1711930&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/core/PluginBag.java (original)
+++ lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/core/PluginBag.java Mon Nov  2 10:14:17 2015
@@ -125,6 +125,11 @@ public class PluginBag<T> implements Aut
     }
   }
 
+  /** make a plugin available in an alternate name. This is an internal API and not for public use
+   * @param src key in which the plugin is already registered
+   * @param target the new key in which the plugin should be aliased to. If target exists already, the alias fails
+   * @return flag if the operation is successful or not
+   */
   boolean alias(String src, String target) {
     if (src == null) return false;
     PluginHolder<T> a = registry.get(src);