Author: epunzalan Date: Mon Jan 9 19:15:34 2006 New Revision: 367471 URL: http://svn.apache.org/viewcvs?rev=367471&view=rev Log: Applied Reformat Code with optimize imports on Idea
Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndex.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndexSearcher.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/DefaultRepositoryIndexingFactory.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndex.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndexSearcher.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexingFactory.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/AbstractCompoundQueryTerm.java maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/CompoundQuery.java Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndex.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndex.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndex.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndex.java Mon Jan 9 19:15:34 2006 @@ -69,9 +69,9 @@ /** * Class constructor * - * @param indexPath the path where the lucene index will be created/updated. + * @param indexPath the path where the lucene index will be created/updated. * @param repository the repository where the indexed artifacts are located - * @param digester the digester object to generate the checksum strings + * @param digester the digester object to generate the checksum strings * @throws RepositoryIndexException */ public ArtifactRepositoryIndex( String indexPath, ArtifactRepository repository, Digester digester ) @@ -192,7 +192,7 @@ /** * Method to test a zip entry if it is a java class, and adds it to the classes buffer * - * @param entry the zip entry to test for java class + * @param entry the zip entry to test for java class * @param classes the String buffer to add the java class if the test result as true * @return true if the zip entry is a java class and was successfully added to the buffer */ @@ -223,7 +223,7 @@ /** * Method to add a class package to the buffer of packages * - * @param name the complete path name of the class + * @param name the complete path name of the class * @param packages the packages buffer * @return true if the package is successfully added */ Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndexSearcher.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndexSearcher.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndexSearcher.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/ArtifactRepositoryIndexSearcher.java Mon Jan 9 19:15:34 2006 @@ -25,7 +25,6 @@ /** * This class searches the index for existing artifacts that contains the * specified query string. - * */ public class ArtifactRepositoryIndexSearcher extends AbstractRepositoryIndexSearcher Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/DefaultRepositoryIndexingFactory.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/DefaultRepositoryIndexingFactory.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/DefaultRepositoryIndexingFactory.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/DefaultRepositoryIndexingFactory.java Mon Jan 9 19:15:34 2006 @@ -65,7 +65,7 @@ } /** - * @see RepositoryIndexingFactory#createPomRepositoryIndexSearcher(PomRepositoryIndex) + * @see RepositoryIndexingFactory#createPomRepositoryIndexSearcher(PomRepositoryIndex) */ public PomRepositoryIndexSearcher createPomRepositoryIndexSearcher( PomRepositoryIndex index ) { Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndex.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndex.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndex.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndex.java Mon Jan 9 19:15:34 2006 @@ -84,9 +84,9 @@ /** * Class Constructor * - * @param indexPath the path where the index is available or will be made available - * @param repository the repository where objects indexed by this class resides - * @param digester the digester to be used for generating checksums + * @param indexPath the path where the index is available or will be made available + * @param repository the repository where objects indexed by this class resides + * @param digester the digester to be used for generating checksums * @param artifactFactory the factory for building artifact objects * @throws RepositoryIndexException */ @@ -181,7 +181,7 @@ } /** - * @see RepositoryIndex#isKeywordField(String) + * @see RepositoryIndex#isKeywordField(String) */ public boolean isKeywordField( String field ) { @@ -244,8 +244,8 @@ /** * Method to index plugins to a specified index field * - * @param doc the index object to create the fields for the plugins - * @param field the index field to store the passed plugin + * @param doc the index object to create the fields for the plugins + * @param field the index field to store the passed plugin * @param plugins the iterator to the list of plugins to be indexed */ private void indexPlugins( Document doc, String field, Iterator plugins ) @@ -261,8 +261,8 @@ /** * Method to index report plugins to a specified index field * - * @param doc the index object to create the fields for the report plugins - * @param field the index field to store the passed report plugin + * @param doc the index object to create the fields for the report plugins + * @param field the index field to store the passed report plugin * @param plugins the iterator to the list of report plugins to be indexed */ private void indexReportPlugins( Document doc, String field, Iterator plugins ) @@ -279,7 +279,7 @@ * Method to generate the computed checksum of an existing file using the specified algorithm. * * @param algorithm the algorithm to be used to generate the checksum - * @param file the file to match the generated checksum + * @param file the file to match the generated checksum * @return a string representing the checksum * @throws RepositoryIndexException */ @@ -303,9 +303,9 @@ /** * Method to create the unique artifact id to represent the artifact in the repository * - * @param groupId the artifact groupId + * @param groupId the artifact groupId * @param artifactId the artifact artifactId - * @param version the artifact version + * @param version the artifact version * @return the String id to uniquely represent the artifact */ private String getId( String groupId, String artifactId, String version ) Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndexSearcher.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndexSearcher.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndexSearcher.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/PomRepositoryIndexSearcher.java Mon Jan 9 19:15:34 2006 @@ -30,8 +30,7 @@ private ArtifactFactory factory; /** - * - * @param index the PomRepositoryIndex + * @param index the PomRepositoryIndex * @param artifactFactory */ public PomRepositoryIndexSearcher( RepositoryIndex index, ArtifactFactory artifactFactory ) @@ -41,7 +40,7 @@ } /** - * @see AbstractRepositoryIndexSearcher#createSearchedObjectFromIndexDocument(org.apache.lucene.document.Document) + * @see AbstractRepositoryIndexSearcher#createSearchedObjectFromIndexDocument(org.apache.lucene.document.Document) */ protected Object createSearchedObjectFromIndexDocument( Document doc ) { Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexingFactory.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexingFactory.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexingFactory.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/RepositoryIndexingFactory.java Mon Jan 9 19:15:34 2006 @@ -38,7 +38,7 @@ /** * Method to create an instance of the ArtifactRepositoryIndex * - * @param indexPath the path where the index will be created/updated + * @param indexPath the path where the index will be created/updated * @param repository the repository where the indexed artifacts are located * @return the ArtifactRepositoryIndex instance * @throws RepositoryIndexException @@ -49,7 +49,7 @@ /** * Method to create an instance of the PomRepositoryIndex * - * @param indexPath the path where the index will be created/updated + * @param indexPath the path where the index will be created/updated * @param repository the repository where the indexed poms are located * @return the PomRepositoryIndex instance * @throws RepositoryIndexException Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/AbstractCompoundQueryTerm.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/AbstractCompoundQueryTerm.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/AbstractCompoundQueryTerm.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/AbstractCompoundQueryTerm.java Mon Jan 9 19:15:34 2006 @@ -56,7 +56,7 @@ } /** - * @see CompoundQueryTerm#getQuery() + * @see CompoundQueryTerm#getQuery() */ public Query getQuery() { Modified: maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/CompoundQuery.java URL: http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/CompoundQuery.java?rev=367471&r1=367470&r2=367471&view=diff ============================================================================== --- maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/CompoundQuery.java (original) +++ maven/repository-manager/trunk/maven-repository-indexer/src/main/java/org/apache/maven/repository/indexing/query/CompoundQuery.java Mon Jan 9 19:15:34 2006 @@ -39,7 +39,7 @@ /** * Appends a required Query object to this Query object. The Query object will be encapsulated inside an - * AndQueryTerm object. + * AndQueryTerm object. * * @param query the Query object to be appended to this Query object */ @@ -50,7 +50,7 @@ /** * Appends an optional Query object to this Query object. The Query object will be encapsulated inside an - * OrQueryTerm object. + * OrQueryTerm object. * * @param query the Query object to be appended to this Query object */ @@ -61,7 +61,7 @@ /** * Appends a prohibited Query object to this Query object. The Query object will be encapsulated inside an - * NotQueryTerm object. + * NotQueryTerm object. * * @param query the Query object to be appended to this Query object */