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:
Olivier Lamy 2011-06-14 08:46:07 +00:00
parent c19e95ffc1
commit 413d9e641b
1 changed files with 1 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public class SearchAction
private static final String COMPLETE_QUERY_STRING_SEPARATOR = ";"; private static final String COMPLETE_QUERY_STRING_SEPARATOR = ";";
private List<String> managedRepositoryList; private List<String> managedRepositoryList = new ArrayList<String>();
private String groupId; private String groupId;
@ -135,7 +135,6 @@ public class SearchAction
public void prepare() public void prepare()
{ {
managedRepositoryList = new ArrayList<String>();
managedRepositoryList = getObservableRepos(); managedRepositoryList = getObservableRepos();
if ( managedRepositoryList.size() > 0 ) if ( managedRepositoryList.size() > 0 )