continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r587184 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/
Date Mon, 22 Oct 2007 18:28:48 GMT
Author: evenisse
Date: Mon Oct 22 11:28:46 2007
New Revision: 587184

URL: http://svn.apache.org/viewvc?rev=587184&view=rev
Log:
Remove unused fields

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractBuildDefinitionContinuumAction.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractContinuumAction.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataAction.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractBuildDefinitionContinuumAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractBuildDefinitionContinuumAction.java?rev=587184&r1=587183&r2=587184&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractBuildDefinitionContinuumAction.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractBuildDefinitionContinuumAction.java
Mon Oct 22 11:28:46 2007
@@ -41,11 +41,10 @@
 public abstract class AbstractBuildDefinitionContinuumAction
     extends AbstractContinuumAction
 {
-
     /**
      * @plexus.requirement role-hint="jdo"
      */
-    ContinuumStore store;
+    protected ContinuumStore store;
 
     protected void resolveDefaultBuildDefinitionsForProject( BuildDefinition buildDefinition,
Project project )
         throws ContinuumException

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractContinuumAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractContinuumAction.java?rev=587184&r1=587183&r2=587184&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractContinuumAction.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/AbstractContinuumAction.java
Mon Oct 22 11:28:46 2007
@@ -28,7 +28,6 @@
 import org.codehaus.plexus.util.StringUtils;
 
 import java.io.File;
-import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
@@ -46,13 +45,13 @@
     public static final String KEY_PROJECT_ID = "project-id";
 
     public static final String KEY_PROJECT = "project";
-    
+
     public static final String KEY_BUILD_DEFINITION_TEMPLATE = "build-definition-template";
 
     public static final String KEY_BUILD_DEFINITION = "build-definition";
-    
+
     public static final String KEY_BUILD_DEFINITION_ID = "build-definition-id";
-    
+
     public static final String KEY_UNVALIDATED_PROJECT = "unvalidated-project";
 
     public static final String KEY_PROJECT_GROUP_ID = "project-group-id";
@@ -114,12 +113,12 @@
     {
         return (BuildDefinitionTemplate) getObject( context, KEY_BUILD_DEFINITION_TEMPLATE,
null );
     }
-    
+
     public static BuildDefinition getBuildDefinition( Map context )
     {
         return (BuildDefinition) getObject( context, KEY_BUILD_DEFINITION, null );
     }
-    
+
     public static int getBuildDefinitionId( Map context )
     {
         return getInteger( context, KEY_BUILD_DEFINITION_ID );

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java?rev=587184&r1=587183&r2=587184&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
Mon Oct 22 11:28:46 2007
@@ -59,11 +59,6 @@
      */
     private ContinuumStore store;
 
-    /**
-     * @plexus.requirement
-     */
-    private Continuum continuum;
-
     public void execute( Map context )
         throws Exception
     {

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataAction.java?rev=587184&r1=587183&r2=587184&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataAction.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CreateProjectsFromMetadataAction.java
Mon Oct 22 11:28:46 2007
@@ -21,7 +21,6 @@
 
 import org.apache.maven.continuum.ContinuumException;
 import org.apache.maven.continuum.execution.maven.m2.SettingsConfigurationException;
-import org.apache.maven.continuum.model.project.BuildDefinition;
 import org.apache.maven.continuum.model.project.BuildDefinitionTemplate;
 import org.apache.maven.continuum.project.builder.ContinuumProjectBuilder;
 import org.apache.maven.continuum.project.builder.ContinuumProjectBuilderException;
@@ -67,8 +66,6 @@
      */
     private MavenSettingsBuilder mavenSettingsBuilder;
 
-    private Settings settings;
-
     public static final String KEY_URL = "url";
 
     public static final String KEY_PROJECT_BUILDER_ID = "builderId";
@@ -108,7 +105,7 @@
 
                 try
                 {
-                    settings = getSettings();
+                    Settings settings = getSettings();
 
                     getLogger().info( "checking for settings auth setup" );
                     if ( settings != null && settings.getServer( url.getHost() )
!= null )



Mime
View raw message