mirror of
https://github.com/apache/archiva.git
synced 2025-02-08 11:06:03 +00:00
[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>
|
<codeSegment>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<code><![CDATA[
|
<code><![CDATA[
|
||||||
public RepositoryConfiguration()
|
|
||||||
{
|
|
||||||
this.indexed = false; // for webwork
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isValid()
|
public boolean isValid()
|
||||||
{
|
{
|
||||||
boolean valid = true;
|
boolean valid = true;
|
||||||
|
@ -132,6 +132,7 @@ public Object getModel()
|
|||||||
if ( repository == null )
|
if ( repository == null )
|
||||||
{
|
{
|
||||||
repository = new RepositoryConfiguration();
|
repository = new RepositoryConfiguration();
|
||||||
|
repository.setIndexed( false );
|
||||||
}
|
}
|
||||||
return repository;
|
return repository;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user