mirror of https://github.com/apache/archiva.git
[MRM-138] make the setting for 'indexed' persist across restarts
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@428765 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
af0ff61f42
commit
33dce55980
|
@ -187,11 +187,6 @@
|
|||
<codeSegment>
|
||||
<version>1.0.0</version>
|
||||
<code><![CDATA[
|
||||
public RepositoryConfiguration()
|
||||
{
|
||||
this.indexed = false; // for webwork
|
||||
}
|
||||
|
||||
public boolean isValid()
|
||||
{
|
||||
boolean valid = true;
|
||||
|
|
|
@ -132,6 +132,7 @@ public class ConfigureRepositoryAction
|
|||
if ( repository == null )
|
||||
{
|
||||
repository = new RepositoryConfiguration();
|
||||
repository.setIndexed( false );
|
||||
}
|
||||
return repository;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue