maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor MojoDescriptor.java
Date Sat, 23 Oct 2004 23:06:06 GMT
jvanzyl     2004/10/23 16:06:06

  Modified:    maven-plugin/src/main/java/org/apache/maven/plugin/descriptor
                        MojoDescriptor.java
  Log:
  o formatting
  
  Revision  Changes    Path
  1.2       +14 -11    maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
  
  Index: MojoDescriptor.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MojoDescriptor.java	9 Aug 2004 18:49:36 -0000	1.1
  +++ MojoDescriptor.java	23 Oct 2004 23:06:06 -0000	1.2
  @@ -27,9 +27,9 @@
       implements Cloneable
   {
       public static final String SINGLE_PASS_EXEC_STRATEGY = "once-per-session";
  -    
  +
       public static final String MULTI_PASS_EXEC_STRATEGY = "always";
  -    
  +
       private String implementation;
   
       private String description;
  @@ -41,7 +41,7 @@
       private Map parameterMap;
   
       private String instantiationStrategy = "singleton";
  -    
  +
       private String executionStrategy = SINGLE_PASS_EXEC_STRATEGY;
   
       private String goal;
  @@ -188,28 +188,31 @@
           this.goal = goal;
       }
   
  -    public boolean alwaysExecute() {
  -        return MULTI_PASS_EXEC_STRATEGY.equals(executionStrategy);
  +    public boolean alwaysExecute()
  +    {
  +        return MULTI_PASS_EXEC_STRATEGY.equals( executionStrategy );
       }
  -    
  -    public String getExecutionStrategy() {
  +
  +    public String getExecutionStrategy()
  +    {
           return executionStrategy;
       }
   
  -    public void setExecutionStrategy(String executionStrategy) {
  +    public void setExecutionStrategy( String executionStrategy )
  +    {
           this.executionStrategy = executionStrategy;
       }
  -    
  +
       public MojoDescriptor copy()
       {
           try
           {
  -        return (MojoDescriptor) this.clone();
  +            return (MojoDescriptor) this.clone();
           }
           catch ( Exception e )
           {
           }
  -        
  +
           return null;
       }
   }
  
  
  

Mime
View raw message