mirror of
https://github.com/apache/archiva.git
synced 2025-02-06 18:19:02 +00:00
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 void setFromFilterSearch( boolean fromFilterSearch )
|
||||
|
||||
public void prepare()
|
||||
{
|
||||
managedRepositoryList = new ArrayList<String>();
|
||||
managedRepositoryList = getObservableRepos();
|
||||
|
||||
if ( managedRepositoryList.size() > 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user