mirror of https://github.com/apache/archiva.git
fix sonar issue : Double assignment of field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c19e95ffc1
commit
413d9e641b
|
@ -87,7 +87,7 @@ public class SearchAction
|
|||
|
||||
private static final String COMPLETE_QUERY_STRING_SEPARATOR = ";";
|
||||
|
||||
private List<String> managedRepositoryList;
|
||||
private List<String> managedRepositoryList = new ArrayList<String>();
|
||||
|
||||
private String groupId;
|
||||
|
||||
|
@ -135,7 +135,6 @@ public class SearchAction
|
|||
|
||||
public void prepare()
|
||||
{
|
||||
managedRepositoryList = new ArrayList<String>();
|
||||
managedRepositoryList = getObservableRepos();
|
||||
|
||||
if ( managedRepositoryList.size() > 0 )
|
||||
|
|
Loading…
Reference in New Issue