From e7e46f60ceb80f4d7b81e87fe1842b8327bc9223 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Fri, 19 Aug 2011 03:37:47 +0000 Subject: [PATCH] eliminate useless javadoc tags breaking the build git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159495 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/solr/core/DirectoryFactory.java | 13 ------------- .../src/java/org/apache/solr/core/SolrCore.java | 11 ++++++----- .../org/apache/solr/search/SolrIndexSearcher.java | 3 +-- .../java/org/apache/solr/update/SolrCoreState.java | 2 -- 4 files changed, 7 insertions(+), 22 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/core/DirectoryFactory.java b/solr/core/src/java/org/apache/solr/core/DirectoryFactory.java index 004caea4dc7..0b4a710c0c3 100644 --- a/solr/core/src/java/org/apache/solr/core/DirectoryFactory.java +++ b/solr/core/src/java/org/apache/solr/core/DirectoryFactory.java @@ -40,8 +40,6 @@ public abstract class DirectoryFactory implements NamedListInitializedPlugin, /** * Creates a new Directory for a given path. * - * @param path - * @return * @throws IOException */ protected abstract Directory create(String path) throws IOException; @@ -49,8 +47,6 @@ public abstract class DirectoryFactory implements NamedListInitializedPlugin, /** * Returns true if a Directory exists for a given path. * - * @param path - * @return */ public abstract boolean exists(String path); @@ -58,9 +54,6 @@ public abstract class DirectoryFactory implements NamedListInitializedPlugin, * Returns the Directory for a given path, using the specified rawLockType. * Will return the same Directory instance for the same path. * - * @param path - * @param rawLockType - * @return * @throws IOException */ public abstract Directory get(String path, String rawLockType) @@ -71,10 +64,6 @@ public abstract class DirectoryFactory implements NamedListInitializedPlugin, * Will return the same Directory instance for the same path unless forceNew, * in which case a new Directory is returned. * - * @param path - * @param rawLockType - * @param forceNew - * @return * @throws IOException */ public abstract Directory get(String path, String rawLockType, @@ -84,7 +73,6 @@ public abstract class DirectoryFactory implements NamedListInitializedPlugin, * Increment the number of references to the given Directory. You must call * release for every call to this method. * - * @param directory */ public abstract void incRef(Directory directory); @@ -92,7 +80,6 @@ public abstract class DirectoryFactory implements NamedListInitializedPlugin, * Releases the Directory so that it may be closed when it is no longer * referenced. * - * @param directory * @throws IOException */ public abstract void release(Directory directory) throws IOException; diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.java index c2c65c6c335..fdc9a746327 100644 --- a/solr/core/src/java/org/apache/solr/core/SolrCore.java +++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java @@ -495,12 +495,13 @@ public final class SolrCore implements SolrInfoMBean { /** * Creates a new core and register it in the list of cores. * If a core with the same name already exists, it will be stopped and replaced by this one. - *@param dataDir the index directory - *@param config a solr config instance - *@param schema a solr schema instance - *@param updateHandler * - *@since solr 1.3 + * @param name + * @param dataDir the index directory + * @param config a solr config instance + * @param schema a solr schema instance + * + * @since solr 1.3 */ public SolrCore(String name, String dataDir, SolrConfig config, IndexSchema schema, CoreDescriptor cd) { this(name, dataDir, config, schema, cd, null); diff --git a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java index 04aa8c5be54..2460b7baea2 100644 --- a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java +++ b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java @@ -396,7 +396,6 @@ public class SolrIndexSearcher extends IndexSearcher implements SolrInfoMBean { /** * @return the indexDir on which this searcher is opened - * @see #SolrIndexSearcher(SolrCore, IndexSchema, String, Directory, boolean) */ public String getIndexDir() { return indexDir; @@ -2206,4 +2205,4 @@ class FilterImpl extends Filter { } } -} \ No newline at end of file +} diff --git a/solr/core/src/java/org/apache/solr/update/SolrCoreState.java b/solr/core/src/java/org/apache/solr/update/SolrCoreState.java index e2cf845cced..56c8eec0350 100644 --- a/solr/core/src/java/org/apache/solr/update/SolrCoreState.java +++ b/solr/core/src/java/org/apache/solr/update/SolrCoreState.java @@ -43,8 +43,6 @@ public abstract class SolrCoreState { * Get the current IndexWriter. If a new IndexWriter must be created, use the * settings from the given {@link SolrCore}. * - * @param core - * @return * @throws IOException */ public abstract IndexWriter getIndexWriter(SolrCore core) throws IOException;