maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r428765 - in /maven/repository-manager/trunk: maven-repository-configuration/src/main/mdo/configuration.mdo maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureRepositoryAction.java
Date Fri, 04 Aug 2006 16:06:04 GMT
Author: brett
Date: Fri Aug  4 09:06:03 2006
New Revision: 428765

URL: http://svn.apache.org/viewvc?rev=428765&view=rev
Log:
[MRM-138] make the setting for 'indexed' persist across restarts

Modified:
    maven/repository-manager/trunk/maven-repository-configuration/src/main/mdo/configuration.mdo
    maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureRepositoryAction.java

Modified: maven/repository-manager/trunk/maven-repository-configuration/src/main/mdo/configuration.mdo
URL: http://svn.apache.org/viewvc/maven/repository-manager/trunk/maven-repository-configuration/src/main/mdo/configuration.mdo?rev=428765&r1=428764&r2=428765&view=diff
==============================================================================
--- maven/repository-manager/trunk/maven-repository-configuration/src/main/mdo/configuration.mdo
(original)
+++ maven/repository-manager/trunk/maven-repository-configuration/src/main/mdo/configuration.mdo
Fri Aug  4 09:06:03 2006
@@ -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;

Modified: maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureRepositoryAction.java
URL: http://svn.apache.org/viewvc/maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureRepositoryAction.java?rev=428765&r1=428764&r2=428765&view=diff
==============================================================================
--- maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureRepositoryAction.java
(original)
+++ maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureRepositoryAction.java
Fri Aug  4 09:06:03 2006
@@ -132,6 +132,7 @@
         if ( repository == null )
         {
             repository = new RepositoryConfiguration();
+            repository.setIndexed( false );
         }
         return repository;
     }



Mime
View raw message