lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r1711930 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/core/ solr/core/src/java/org/apache/solr/core/PluginBag.java
Date Mon, 02 Nov 2015 10:14:18 GMT
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);



Mime
View raw message