maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r805190 [1/2] - in /maven/enforcer/trunk/enforcer-rules/src: main/java/org/apache/maven/plugins/enforcer/ main/java/org/apache/maven/plugins/enforcer/utils/ test/java/org/apache/maven/plugins/enforcer/ test/java/org/apache/maven/plugins/enf...
Date Mon, 17 Aug 2009 22:30:51 GMT
Author: hboutemy
Date: Mon Aug 17 22:30:49 2009
New Revision: 805190

URL: http://svn.apache.org/viewvc?rev=805190&view=rev
Log:
o fixed errors reported by Checkstyle
o added missing license headers

Modified:
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractBanDependencies.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java   (contents, props changed)
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractRequireFiles.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysFail.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysPass.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedDependencies.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EnforcerExpressionEvaluator.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EvaluateBeanshell.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/NoSnapshots.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireActiveProfile.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesDontExist.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesSize.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireJavaVersion.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireMavenVersion.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireOS.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireProperty.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseDeps.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseVersion.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/PluginWrapper.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/EnforcerTestUtils.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPathTranslator.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPlexusContainer.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockRuntimeInformation.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAbstractVersionEnforcer.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysFail.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestAlwaysPass.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedDependencies.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestEvaluateBeanshell.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestMavenVersion.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestNoSnapshots.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireFilesSize.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireJavaVersion.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireOS.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequirePluginVersions.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireProperty.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseDeps.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireReleaseVersion.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/MockEnforcerExpressionEvaluator.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestEnforcerRuleUtils.java
    maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/utils/TestMockEnforcerExpressionEvaluator.java

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractBanDependencies.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractBanDependencies.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractBanDependencies.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractBanDependencies.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Iterator;
 import java.util.Set;
@@ -28,7 +29,6 @@
 import org.apache.maven.project.MavenProject;
 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
 
-// TODO: Auto-generated Javadoc
 /**
  * Abstract Rule for banning dependencies.
  *
@@ -40,7 +40,7 @@
 {
 
     /** Specify if transitive dependencies should be searched (default) or only look at direct dependencies. */
-    public boolean searchTransitive = true;
+    private boolean searchTransitive = true;
 
     /**
      * Execute the rule.

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,24 +18,23 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRule;
 
 /**
  * The Class AbstractNonCacheableEnforcerRule. This is to be used by rules
- * that don't need caching...it saves implementing a bunch of methods.
- * 
+ * that don't need caching... it saves implementing a bunch of methods.
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
- * @version $Id: $
+ * @version $Id$
  */
-abstract public class AbstractNonCacheableEnforcerRule
+public abstract class AbstractNonCacheableEnforcerRule
     extends AbstractStandardEnforcerRule
 {
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#getCacheId()
      */
     public String getCacheId()
@@ -43,7 +44,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isCacheable()
      */
     public boolean isCacheable()
@@ -53,7 +54,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule)
      */
     public boolean isResultValid( EnforcerRule cachedRule )

Propchange: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractRequireFiles.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractRequireFiles.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractRequireFiles.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractRequireFiles.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 import java.util.ArrayList;
@@ -26,59 +27,58 @@
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;
 
-// TODO: Auto-generated Javadoc
 /**
  * Contains the common code to compare an array of files against a requirement.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
-abstract public class AbstractRequireFiles
+public abstract class AbstractRequireFiles
     extends AbstractStandardEnforcerRule
 {
 
     /** Array of files to check. */
     File[] files;
-    
-    //if null file handles should be allowed. If they are allowed, it means treat it as a success.
+
+    /** if null file handles should be allowed. If they are allowed, it means treat it as a success. */
     boolean allowNulls = false;
 
     // check the file for the specific condition
     /**
      * Check one file.
-     * 
+     *
      * @param file the file
      * @return <code>true</code> if successful
      */
     abstract boolean checkFile( File file );
 
-    // retun standard error message
+    // return standard error message
     /**
      * Gets the error msg.
-     * 
+     *
      * @return the error msg
      */
     abstract String getErrorMsg();
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper helper )
         throws EnforcerRuleException
     {
-    	
-    	if (!allowNulls && files.length == 0)
+
+        if ( !allowNulls && files.length == 0 )
     	{
-    		throw new EnforcerRuleException("The file list is empty and Null files are disabled.");
+            throw new EnforcerRuleException( "The file list is empty and Null files are disabled." );
     	}
 
         ArrayList failures = new ArrayList();
         for ( int i = 0; i < files.length; i++ )
         {
-        	if (!allowNulls && files[i] == null)
+            if ( !allowNulls && files[i] == null )
         	{
-        		failures.add(files[i]);
+                failures.add( files[i] );
         	}
         	else if ( !checkFile( files[i] ) )
             {
@@ -119,7 +119,7 @@
      * result to be different. Multiple cached results are stored based on their id. The easiest way to do this is to
      * return a hash computed from the values of your parameters. If your rule is not cacheable, then the result here is
      * not important, you may return anything.
-     * 
+     *
      * @return the cache id
      */
     public String getCacheId()
@@ -130,7 +130,7 @@
     /**
      * Calculates a hash code for the specified array as <code>Arrays.hashCode()</code> would do. Unfortunately, the
      * mentioned method is only available for Java 1.5 and later.
-     * 
+     *
      * @param items The array for which to compute the hash code, may be <code>null</code>.
      * @return The hash code for the array.
      */
@@ -153,7 +153,7 @@
      * This tells the system if the results are cacheable at all. Keep in mind that during forked builds and other
      * things, a given rule may be executed more than once for the same project. This means that even things that change
      * from project to project may still be cacheable in certain instances.
-     * 
+     *
      * @return <code>true</code> if rule is cacheable
      */
     public boolean isCacheable()
@@ -166,7 +166,7 @@
      * allow double checking of the results. Most of the time this can be done by generating unique ids, but sometimes
      * the results of objects returned by the helper need to be queried. You may for example, store certain objects in
      * your rule and then query them later.
-     * 
+     *
      * @param cachedRule the cached rule
      * @return <code>true</code> if the stored results are valid for the same id.
      */

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,11 +18,9 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRule;
 
-// TODO: Auto-generated Javadoc
 /**
  * The Class AbstractStandardEnforcerRule.
  */

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Iterator;
 
@@ -30,10 +31,9 @@
 import org.apache.maven.plugin.logging.Log;
 import org.codehaus.plexus.util.StringUtils;
 
-// TODO: Auto-generated Javadoc
 /**
  * Contains the common code to compare a version against a version range.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -55,7 +55,7 @@
 
     /**
      * Compares the specified version to see if it is allowed by the defined version range.
-     * 
+     *
      * @param log the log
      * @param variableName name of variable to use in messages (Example: "Maven" or "Java" etc).
      * @param requiredVersionRange range of allowed versions.
@@ -114,7 +114,7 @@
      * Copied from Artifact.VersionRange. This is tweaked to handle singular ranges properly. Currently the default
      * containsVersion method assumes a singular version means allow everything. This method assumes that "2.0.4" ==
      * "[2.0.4,)"
-     * 
+     *
      * @param allowedRange range of allowed versions.
      * @param theVersion the version to be checked.
      * @return true if the version is contained by the range.
@@ -146,7 +146,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#getCacheId()
      */
     public String getCacheId()
@@ -165,7 +165,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isCacheable()
      */
     public boolean isCacheable()
@@ -176,7 +176,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule)
      */
     public boolean isResultValid( EnforcerRule theCachedRule )
@@ -188,7 +188,7 @@
 
     /**
      * Gets the required version.
-     * 
+     *
      * @return the required version
      */
     public String getVersion()
@@ -198,7 +198,7 @@
 
     /**
      * Sets the required version.
-     * 
+     *
      * @param theVersion the required version to set
      */
     public void setVersion( String theVersion )

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysFail.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysFail.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysFail.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysFail.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysPass.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysPass.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysPass.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AlwaysPass.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedDependencies.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedDependencies.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedDependencies.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedDependencies.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.HashSet;
 import java.util.Iterator;
@@ -31,10 +32,9 @@
 import org.apache.maven.plugin.logging.Log;
 import org.codehaus.plexus.util.StringUtils;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that lists of dependencies are not included.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -60,7 +60,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.plugin.enforcer.AbstractBanDependencies#checkDependencies(java.util.Set)
      */
     protected Set checkDependencies( Set theDependencies, Log log )
@@ -84,7 +84,7 @@
 
     /**
      * Checks the set of dependencies against the list of patterns.
-     * 
+     *
      * @param thePatterns the patterns
      * @param dependencies the dependencies
      * @return a set containing artifacts matching one of the patterns or <code>null</code>
@@ -128,7 +128,7 @@
 
     /**
      * Compares the parsed array of substrings against the artifact.
-     * 
+     *
      * @param pattern the array of patterns
      * @param artifact the artifact
      * @return <code>true</code> if the artifact matches one of the patterns
@@ -176,7 +176,7 @@
 
     /**
      * Gets the excludes.
-     * 
+     *
      * @return the excludes
      */
     public List getExcludes()
@@ -186,7 +186,7 @@
 
     /**
      * Sets the excludes.
-     * 
+     *
      * @param theExcludes the excludes to set
      */
     public void setExcludes( List theExcludes )
@@ -196,7 +196,7 @@
 
     /**
      * Gets the includes.
-     * 
+     *
      * @return the includes
      */
     public List getIncludes()
@@ -206,7 +206,7 @@
 
     /**
      * Sets the includes.
-     * 
+     *
      * @param theIncludes the includes to set
      */
     public void setIncludes( List theIncludes )

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/BannedPlugins.java Mon Aug 17 22:30:49 2009
@@ -1,5 +1,24 @@
 package org.apache.maven.plugins.enforcer;
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import java.util.Set;
 
 import org.apache.maven.artifact.Artifact;

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 import java.util.List;
@@ -30,11 +31,10 @@
 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
 import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
 
-// TODO: Auto-generated Javadoc
 /**
  * Default implementation of the EnforcementRuleHelper interface. This is used to help retrieve information from the
  * session and provide useful elements like the log.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -56,7 +56,7 @@
 
     /**
      * Instantiates a new default enforcement rule helper.
-     * 
+     *
      * @param session the session
      * @param evaluator the evaluator
      * @param log the log
@@ -80,7 +80,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRuleHelper#getLog()
      */
     public Log getLog()
@@ -90,7 +90,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator#alignToBaseDirectory(java.io.File)
      */
     public File alignToBaseDirectory( File theFile )
@@ -100,7 +100,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator#evaluate(java.lang.String)
      */
     public Object evaluate( String theExpression )
@@ -111,7 +111,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.shared.enforcer.rule.api.EnforcerRuleHelper#getRuntimeInformation()
      */
     public Object getComponent( Class clazz )
@@ -122,7 +122,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRuleHelper#lookup(java.lang.String)
      */
     public Object getComponent( String theComponentKey )
@@ -133,7 +133,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRuleHelper#lookup(java.lang.String, java.lang.String)
      */
     public Object getComponent( String theRole, String theRoleHint )
@@ -144,7 +144,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRuleHelper#lookupList(java.lang.String)
      */
     public List getComponentList( String theRole )
@@ -155,7 +155,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRuleHelper#lookupMap(java.lang.String)
      */
     public Map getComponentMap( String theRole )
@@ -166,7 +166,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRuleHelper#getContainer()
      */
     public PlexusContainer getContainer()

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EnforcerExpressionEvaluator.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EnforcerExpressionEvaluator.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EnforcerExpressionEvaluator.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EnforcerExpressionEvaluator.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecution;
@@ -25,11 +26,10 @@
 import org.apache.maven.project.MavenProject;
 import org.apache.maven.project.path.PathTranslator;
 
-// TODO: Auto-generated Javadoc
 /**
  * The Class EnforcerExpressionEvaluator. This class wraps the PluginParameterExpressionEvaluator
  * because it can't be accessed directly in 2.0.x so we must create a new one.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class EnforcerExpressionEvaluator
@@ -38,7 +38,7 @@
 
     /**
      * The Constructor.
-     * 
+     *
      * @param theContext the the context
      * @param thePathTranslator the the path translator
      * @param theProject the the project

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EvaluateBeanshell.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EvaluateBeanshell.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EvaluateBeanshell.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/EvaluateBeanshell.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;
@@ -29,7 +30,7 @@
 
 /**
  * Rule for Maven Enforcer using Beanshell to evaluate a conditional expression.
- * 
+ *
  * @author hugonnem
  */
 public class EvaluateBeanshell
@@ -44,7 +45,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper helper )
@@ -75,7 +76,7 @@
 
     /**
      * Evaluate expression using Beanshell.
-     * 
+     *
      * @param script the expression to be evaluated
      * @param log the logger
      * @return boolean the evaluation of the expression

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/NoSnapshots.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/NoSnapshots.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/NoSnapshots.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/NoSnapshots.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,17 +18,15 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Set;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.plugin.logging.Log;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule is deprecated. Use requireReleaseVersions.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  * @deprecated replaced by {@link #RequireReleaseDeps}
@@ -37,7 +37,7 @@
 
     /**
      * Checks the set of dependencies to see if any snapshots are included.
-     * 
+     *
      * @param dependencies the dependencies
      * @param log the log
      * @return the sets the

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireActiveProfile.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireActiveProfile.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireActiveProfile.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireActiveProfile.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.ArrayList;
 import java.util.Iterator;
@@ -29,10 +30,9 @@
 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
 import org.codehaus.plexus.util.StringUtils;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that some profiles are active.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class RequireActiveProfile
@@ -47,7 +47,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper theHelper )
@@ -114,7 +114,7 @@
 
     /**
      * Checks if profile is active.
-     * 
+     *
      * @param project the project
      * @param profileName the profile name
      * @return <code>true</code> if profile is active

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesDontExist.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesDontExist.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesDontExist.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesDontExist.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,11 +18,9 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 
-// TODO: Auto-generated Javadoc
 /**
  * The Class RequireFilesDontExist.
  */
@@ -30,18 +30,18 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.plugins.enforcer.AbstractRequireFiles#checkFile(java.io.File)
      */
     boolean checkFile( File file )
     {
     	//if we get here and the handle is null, treat it as a success
-    	return file == null ? true : !file.exists();
+        return file == null ? true : !file.exists();
     }
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.plugins.enforcer.AbstractRequireFiles#getErrorMsg()
      */
     String getErrorMsg()

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesSize.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesSize.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesSize.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireFilesSize.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 
@@ -29,7 +30,7 @@
 
 /**
  * Rule to validate the main artifact is within certain size constraints.
- * 
+ *
  * @author brianf
  * @author Roman Stumm
  */
@@ -51,14 +52,14 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper helper )
         throws EnforcerRuleException
     {
         this.log = helper.getLog();
-        
+
         // if the file is already defined, use that. Otherwise get the main artifact.
         if ( files.length == 0 )
         {
@@ -84,7 +85,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isCacheable()
      */
     public boolean isCacheable()
@@ -94,7 +95,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule)
      */
     public boolean isResultValid( EnforcerRule cachedRule )
@@ -112,7 +113,7 @@
             //if we get here and it's null, treat it as a success.
             return true;
         }
-        
+
         // check the file now
         if ( file.exists() )
         {

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireJavaVersion.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireJavaVersion.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireJavaVersion.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireJavaVersion.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Arrays;
 import java.util.Iterator;
@@ -30,10 +31,9 @@
 import org.apache.maven.plugin.logging.Log;
 import org.codehaus.plexus.util.StringUtils;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that the Java version is allowed.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -43,7 +43,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper helper )
@@ -67,7 +67,7 @@
 
     /**
      * Converts a jdk string from 1.5.0-11b12 to a single 3 digit version like 1.5.0-11
-     * 
+     *
      * @param theJdkVersion to be converted.
      * @return the converted string.
      */

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireMavenVersion.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireMavenVersion.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireMavenVersion.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireMavenVersion.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.artifact.versioning.ArtifactVersion;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
@@ -24,10 +25,9 @@
 import org.apache.maven.execution.RuntimeInformation;
 import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that the Maven version is allowed.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -37,7 +37,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper helper )

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireOS.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireOS.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireOS.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireOS.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Iterator;
 
@@ -31,11 +32,10 @@
 import org.codehaus.plexus.util.Os;
 import org.codehaus.plexus.util.StringUtils;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that the OS is allowed by combinations of family, name, version and cpu architecture. The behavior
  * is exactly the same as the Maven Os profile activation so the same values are allowed here.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -86,7 +86,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper helper )
@@ -131,7 +131,7 @@
 
     /**
      * Log the current OS information.
-     * 
+     *
      * @param log the log
      * @param info the info
      */
@@ -154,7 +154,7 @@
     /**
      * Helper method to determine if the current OS is allowed based on the injected values for family, name, version
      * and arch.
-     * 
+     *
      * @return true if the version is allowed.
      */
     public boolean isAllowed()
@@ -166,7 +166,7 @@
 
     /**
      * Helper method to check that at least one of family, name, version or arch is set.
-     * 
+     *
      * @return true if all parameters are empty.
      */
     public boolean allParamsEmpty()
@@ -177,7 +177,7 @@
 
     /**
      * Creates a Profile object that contains the activation information.
-     * 
+     *
      * @return a properly populated profile to be used for OS validation.
      */
     private Profile createProfile()
@@ -189,7 +189,7 @@
 
     /**
      * Creates an Activation object that contains the ActivationOS information.
-     * 
+     *
      * @return a properly populated Activation object.
      */
     private Activation createActivation()
@@ -202,7 +202,7 @@
 
     /**
      * Creates an ActivationOS object containing family, name, version and arch.
-     * 
+     *
      * @return a properly populated ActivationOS object.
      */
     private ActivationOS createOsBean()
@@ -232,7 +232,7 @@
      * <li>os/400</li>
      * </ul>
      * Note: '!' is allowed at the beginning of the string and still considered valid.
-     * 
+     *
      * @param theFamily the family to check.
      * @return true if one of the valid families.
      */
@@ -247,7 +247,7 @@
 
     /**
      * Gets the arch.
-     * 
+     *
      * @return the arch
      */
     public String getArch()
@@ -257,7 +257,7 @@
 
     /**
      * Sets the arch.
-     * 
+     *
      * @param theArch the arch to set
      */
     public void setArch( String theArch )
@@ -267,7 +267,7 @@
 
     /**
      * Gets the family.
-     * 
+     *
      * @return the family
      */
     public String getFamily()
@@ -277,7 +277,7 @@
 
     /**
      * Sets the family.
-     * 
+     *
      * @param theFamily the family to set
      */
     public void setFamily( String theFamily )
@@ -287,7 +287,7 @@
 
     /**
      * Gets the name.
-     * 
+     *
      * @return the name
      */
     public String getName()
@@ -297,7 +297,7 @@
 
     /**
      * Sets the name.
-     * 
+     *
      * @param theName the name to set
      */
     public void setName( String theName )
@@ -307,7 +307,7 @@
 
     /**
      * Gets the version.
-     * 
+     *
      * @return the version
      */
     public String getVersion()
@@ -317,7 +317,7 @@
 
     /**
      * Sets the version.
-     * 
+     *
      * @param theVersion the version to set
      */
     public void setVersion( String theVersion )
@@ -327,7 +327,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#getCacheId()
      */
     public String getCacheId()
@@ -355,7 +355,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isCacheable()
      */
     public boolean isCacheable()
@@ -366,7 +366,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#isResultValid(org.apache.maven.enforcer.rule.api.EnforcerRule)
      */
     public boolean isResultValid( EnforcerRule theCachedRule )

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 import java.io.IOException;

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireProperty.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireProperty.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireProperty.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireProperty.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,16 +18,14 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;
 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that certain properties are set.
- * 
+ *
  * @author Paul Gier
  */
 public class RequireProperty
@@ -43,7 +43,7 @@
 
     /**
      * Execute the rule.
-     * 
+     *
      * @param helper the helper
      * @throws EnforcerRuleException the enforcer rule exception
      */

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseDeps.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseDeps.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseDeps.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseDeps.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.HashSet;
 import java.util.Iterator;
@@ -29,10 +30,9 @@
 import org.apache.maven.project.MavenProject;
 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that no snapshots are included.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
@@ -42,14 +42,14 @@
 
     /**
      * Allows this rule to execute only when this project is a release.
-     * 
+     *
      * @parameter
      */
     public boolean onlyWhenRelease = false;
 
     /**
      * Allows this rule to fail when the parent is defined as a snapshot.
-     * 
+     *
      * @parameter
      */
     public boolean failWhenParentIsSnapshot = true;
@@ -112,7 +112,7 @@
 
     /**
      * Checks the set of dependencies to see if any snapshots are included
-     * 
+     *
      * @param dependencies the dependencies
      * @param log the log
      * @return the sets the
@@ -136,7 +136,7 @@
 
         return foundExcludes;
     }
-    
+
     public boolean isOnlyWhenRelease()
     {
         return onlyWhenRelease;

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseVersion.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseVersion.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseVersion.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireReleaseVersion.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import org.apache.maven.artifact.Artifact;
 import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
@@ -24,10 +25,9 @@
 import org.apache.maven.project.MavenProject;
 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
 
-// TODO: Auto-generated Javadoc
 /**
  * This rule checks that the current project is not a snapshot.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class RequireReleaseVersion
@@ -36,14 +36,14 @@
 
     /**
      * Allows this rule to fail when the parent is defined as a snapshot.
-     * 
+     *
      * @parameter
      */
     public boolean failWhenParentIsSnapshot = true;
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.enforcer.rule.api.EnforcerRule#execute(org.apache.maven.enforcer.rule.api.EnforcerRuleHelper)
      */
     public void execute( EnforcerRuleHelper theHelper )

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer.utils;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer.utils;
 
 import java.io.File;
 import java.io.IOException;
@@ -45,12 +46,12 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class EnforcerRuleUtils.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class EnforcerRuleUtils
 {
-    
+
     /** The factory. */
     ArtifactFactory factory;
 
@@ -73,7 +74,7 @@
 
     /**
      * Instantiates a new enforcer rule utils.
-     * 
+     *
      * @param theFactory the the factory
      * @param theResolver the the resolver
      * @param theLocal the the local
@@ -95,12 +96,12 @@
 
     /**
      * Instantiates a new enforcer rule utils.
-     * 
+     *
      * @param helper the helper
      */
     public EnforcerRuleUtils( EnforcerRuleHelper helper )
     {
-     
+
     	this.helper = helper;
     	// get the various expressions out of the
         // helper.
@@ -126,11 +127,11 @@
 
     /**
      * Gets the pom model for this file.
-     * 
+     *
      * @param pom the pom
-     * 
+     *
      * @return the model
-     * 
+     *
      * @throws IOException Signals that an I/O exception has occurred.
      * @throws XmlPullParserException the xml pull parser exception
      */
@@ -156,14 +157,14 @@
      * This method gets the model for the defined artifact.
      * Looks first in the filesystem, then tries to get it
      * from the repo.
-     * 
+     *
      * @param groupId the group id
      * @param artifactId the artifact id
      * @param version the version
      * @param pom the pom
-     * 
+     *
      * @return the pom model
-     * 
+     *
      * @throws ArtifactResolutionException the artifact resolution exception
      * @throws ArtifactNotFoundException the artifact not found exception
      * @throws XmlPullParserException the xml pull parser exception
@@ -217,14 +218,14 @@
     /**
      * This method loops through all the parents, getting
      * each pom model and then its parent.
-     * 
+     *
      * @param groupId the group id
      * @param artifactId the artifact id
      * @param version the version
      * @param pom the pom
-     * 
+     *
      * @return the models recursively
-     * 
+     *
      * @throws ArtifactResolutionException the artifact resolution exception
      * @throws ArtifactNotFoundException the artifact not found exception
      * @throws IOException Signals that an I/O exception has occurred.
@@ -249,7 +250,7 @@
             }
             // calculate the recursive path
             File parentPom = new File( pom.getParent(), relativePath );
-            
+
             // if relative path is a directory, append pom.xml
             if ( parentPom.isDirectory() )
             {
@@ -270,12 +271,12 @@
 
     /**
      * Make sure the model is the one I'm expecting.
-     * 
+     *
      * @param groupId the group id
      * @param artifactId the artifact id
      * @param version the version
      * @param model Model being checked.
-     * 
+     *
      * @return true, if check if model matches
      */
     protected boolean checkIfModelMatches ( String groupId, String artifactId, String version, Model model )

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/PluginWrapper.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/PluginWrapper.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/PluginWrapper.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/PluginWrapper.java Mon Aug 17 22:30:49 2009
@@ -1,5 +1,24 @@
 package org.apache.maven.plugins.enforcer.utils;
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
@@ -100,7 +119,7 @@
     {
         this.source = source;
     }
-    
-    
+
+
 
 }

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/EnforcerTestUtils.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/EnforcerTestUtils.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/EnforcerTestUtils.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/EnforcerTestUtils.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.util.Date;
 import java.util.Properties;
@@ -32,14 +33,14 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class EnforcerTestUtils.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public final class EnforcerTestUtils
 {
     /**
      * Gets the maven session.
-     * 
+     *
      * @return the maven session
      */
     public static MavenSession getMavenSession()
@@ -50,7 +51,7 @@
 
     /**
      * Gets the helper.
-     * 
+     *
      * @return the helper
      */
     public static EnforcerRuleHelper getHelper()
@@ -60,7 +61,7 @@
 
     /**
      * Gets the helper.
-     * 
+     *
      * @param mockExpression the mock expression
      * @return the helper
      */
@@ -71,7 +72,7 @@
 
     /**
      * Gets the helper.
-     * 
+     *
      * @param project the project
      * @return the helper
      */
@@ -82,7 +83,7 @@
 
     /**
      * Gets the helper.
-     * 
+     *
      * @param project the project
      * @param mockExpression the mock expression
      * @return the helper
@@ -104,7 +105,7 @@
 
     /**
      * Gets the helper.
-     * 
+     *
      * @param project the project
      * @param eval the expression evaluator to use
      * @return the helper
@@ -117,7 +118,7 @@
 
     /**
      * New plugin.
-     * 
+     *
      * @param groupId the group id
      * @param artifactId the artifact id
      * @param version the version

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPathTranslator.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPathTranslator.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPathTranslator.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPathTranslator.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 
@@ -26,7 +27,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class MockPathTranslator.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class MockPathTranslator
@@ -35,7 +36,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.path.PathTranslator#alignToBaseDirectory(org.apache.maven.model.Model,
      *      java.io.File)
      */
@@ -45,7 +46,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.path.PathTranslator#alignToBaseDirectory(java.lang.String, java.io.File)
      */
     public String alignToBaseDirectory( String thePath, File theBasedir )
@@ -55,7 +56,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.path.PathTranslator#unalignFromBaseDirectory(org.apache.maven.model.Model,
      *      java.io.File)
      */
@@ -65,7 +66,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.apache.maven.project.path.PathTranslator#unalignFromBaseDirectory(java.lang.String, java.io.File)
      */
     public String unalignFromBaseDirectory( String theDirectory, File theBasedir )

Modified: maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPlexusContainer.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPlexusContainer.java?rev=805190&r1=805189&r2=805190&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPlexusContainer.java (original)
+++ maven/enforcer/trunk/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockPlexusContainer.java Mon Aug 17 22:30:49 2009
@@ -1,3 +1,5 @@
+package org.apache.maven.plugins.enforcer;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,7 +18,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.maven.plugins.enforcer;
 
 import java.io.File;
 import java.io.Reader;
@@ -45,7 +46,7 @@
 // TODO: Auto-generated Javadoc
 /**
  * The Class MockPlexusContainer.
- * 
+ *
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  */
 public class MockPlexusContainer
@@ -54,7 +55,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#lookup(java.lang.String)
      */
     public Object lookup( String theComponentKey )
@@ -74,7 +75,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#addComponentDescriptor(org.codehaus.plexus.component.repository.ComponentDescriptor)
      */
     public void addComponentDescriptor( ComponentDescriptor theComponentDescriptor )
@@ -86,7 +87,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#addContextValue(java.lang.Object, java.lang.Object)
      */
     public void addContextValue( Object theKey, Object theValue )
@@ -97,7 +98,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#addJarRepository(java.io.File)
      */
     public void addJarRepository( File theRepository )
@@ -108,7 +109,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#addJarResource(java.io.File)
      */
     public void addJarResource( File theResource )
@@ -120,7 +121,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#composeComponent(java.lang.Object,
      *      org.codehaus.plexus.component.repository.ComponentDescriptor)
      */
@@ -133,7 +134,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#createChildContainer(java.lang.String, java.util.List, java.util.Map)
      */
     public PlexusContainer createChildContainer( String theName, List theClasspathJars, Map theContext )
@@ -145,7 +146,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#createChildContainer(java.lang.String, java.util.List, java.util.Map,
      *      java.util.List)
      */
@@ -159,7 +160,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#createComponentInstance(org.codehaus.plexus.component.repository.ComponentDescriptor)
      */
     public Object createComponentInstance( ComponentDescriptor theComponentDescriptor )
@@ -171,7 +172,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#dispose()
      */
     public void dispose()
@@ -182,7 +183,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getChildContainer(java.lang.String)
      */
     public PlexusContainer getChildContainer( String theName )
@@ -193,7 +194,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getComponentDescriptor(java.lang.String)
      */
     public ComponentDescriptor getComponentDescriptor( String theComponentKey )
@@ -204,7 +205,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getComponentDescriptorList(java.lang.String)
      */
     public List getComponentDescriptorList( String theRole )
@@ -215,7 +216,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getComponentDescriptorMap(java.lang.String)
      */
     public Map getComponentDescriptorMap( String theRole )
@@ -226,7 +227,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getComponentRealm(java.lang.String)
      */
     public ClassRealm getComponentRealm( String theComponentKey )
@@ -237,7 +238,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getContainerRealm()
      */
     public ClassRealm getContainerRealm()
@@ -248,7 +249,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getContext()
      */
     public Context getContext()
@@ -259,7 +260,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getCreationDate()
      */
     public Date getCreationDate()
@@ -270,7 +271,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getLogger()
      */
     public Logger getLogger()
@@ -281,7 +282,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#getLoggerManager()
      */
     public LoggerManager getLoggerManager()
@@ -292,7 +293,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#hasChildContainer(java.lang.String)
      */
     public boolean hasChildContainer( String theName )
@@ -303,7 +304,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#hasComponent(java.lang.String)
      */
     public boolean hasComponent( String theComponentKey )
@@ -314,7 +315,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#hasComponent(java.lang.String, java.lang.String)
      */
     public boolean hasComponent( String theRole, String theRoleHint )
@@ -325,7 +326,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#initialize()
      */
     public void initialize()
@@ -337,7 +338,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#isInitialized()
      */
     public boolean isInitialized()
@@ -348,7 +349,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#isStarted()
      */
     public boolean isStarted()
@@ -359,7 +360,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#lookup(java.lang.String, java.lang.String)
      */
     public Object lookup( String theRole, String theRoleHint )
@@ -371,7 +372,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#lookupList(java.lang.String)
      */
     public List lookupList( String theRole )
@@ -383,7 +384,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#lookupMap(java.lang.String)
      */
     public Map lookupMap( String theRole )
@@ -395,7 +396,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#registerComponentDiscoveryListener(org.codehaus.plexus.component.discovery.ComponentDiscoveryListener)
      */
     public void registerComponentDiscoveryListener( ComponentDiscoveryListener theListener )
@@ -406,7 +407,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#release(java.lang.Object)
      */
     public void release( Object theComponent )
@@ -418,7 +419,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#releaseAll(java.util.Map)
      */
     public void releaseAll( Map theComponents )
@@ -430,7 +431,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#releaseAll(java.util.List)
      */
     public void releaseAll( List theComponents )
@@ -442,7 +443,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#removeChildContainer(java.lang.String)
      */
     public void removeChildContainer( String theName )
@@ -453,7 +454,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#removeComponentDiscoveryListener(org.codehaus.plexus.component.discovery.ComponentDiscoveryListener)
      */
     public void removeComponentDiscoveryListener( ComponentDiscoveryListener theListener )
@@ -464,7 +465,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#resume(java.lang.Object)
      */
     public void resume( Object theComponent )
@@ -476,7 +477,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#setConfigurationResource(java.io.Reader)
      */
     public void setConfigurationResource( Reader theConfiguration )
@@ -488,7 +489,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#setLoggerManager(org.codehaus.plexus.logging.LoggerManager)
      */
     public void setLoggerManager( LoggerManager theLoggerManager )
@@ -499,7 +500,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#setParentPlexusContainer(org.codehaus.plexus.PlexusContainer)
      */
     public void setParentPlexusContainer( PlexusContainer theParentContainer )
@@ -510,7 +511,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#start()
      */
     public void start()
@@ -522,7 +523,7 @@
 
     /*
      * (non-Javadoc)
-     * 
+     *
      * @see org.codehaus.plexus.PlexusContainer#suspend(java.lang.Object)
      */
     public void suspend( Object theComponent )



Mime
View raw message