mirror of https://github.com/apache/archiva.git
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:
parent
cd29b31cc0
commit
a3cadd446f
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue