Reformat code

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366113 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Edwin L. Punzalan 2006-01-05 08:01:05 +00:00
parent cd29b31cc0
commit a3cadd446f
2 changed files with 4 additions and 4 deletions

View File

@ -21,11 +21,11 @@ import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.SimpleAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.model.Dependency;
import org.apache.maven.model.License;
import org.apache.maven.model.Model;
import org.apache.maven.model.Plugin;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.codehaus.plexus.util.StringUtils;
import java.io.IOException;
@ -55,8 +55,8 @@ public class PomRepositoryIndex
protected static final String FLD_PLUGINS_ALL = "plugins_all";
private static final String[] FIELDS = {FLD_GROUPID, FLD_ARTIFACTID, FLD_VERSION, FLD_PACKAGING, FLD_LICENSE_URLS, FLD_DEPENDENCIES,
FLD_PLUGINS_BUILD, FLD_PLUGINS_REPORT, FLD_PLUGINS_ALL};
private static final String[] FIELDS = {FLD_GROUPID, FLD_ARTIFACTID, FLD_VERSION, FLD_PACKAGING, FLD_LICENSE_URLS,
FLD_DEPENDENCIES, FLD_PLUGINS_BUILD, FLD_PLUGINS_REPORT, FLD_PLUGINS_ALL};
private Analyzer analyzer;

View File

@ -43,7 +43,7 @@ public class PomRepositoryIndexSearcher
protected Object createSearchedObjectFromIndexDocument( Document doc )
{
String groupId = doc.get( PomRepositoryIndex.FLD_GROUPID ) ;
String groupId = doc.get( PomRepositoryIndex.FLD_GROUPID );
String artifactId = doc.get( PomRepositoryIndex.FLD_ARTIFACTID );
String version = doc.get( PomRepositoryIndex.FLD_VERSION );
String packaging = doc.get( PomRepositoryIndex.FLD_PACKAGING );