Author: hboutemy Date: Tue Feb 5 00:41:23 2013 New Revision: 1442445 URL: http://svn.apache.org/viewvc?rev=1442445&view=rev Log: code formatting
Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/BuildClasspathMojo.java maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DependencyProjectStub.java Modified: maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/BuildClasspathMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/BuildClasspathMojo.java?rev=1442445&r1=1442444&r2=1442445&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/BuildClasspathMojo.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/BuildClasspathMojo.java Tue Feb 5 00:41:23 2013 @@ -85,9 +85,9 @@ public class BuildClasspathMojo private File cpFile; /** - * A property to set to the contents of the classpath string. + * A property to set to the content of the classpath string. */ - @Parameter( property = "mdep.outputProperty") + @Parameter( property = "mdep.outputProperty" ) private String outputProperty; /** @@ -237,7 +237,7 @@ public class BuildClasspathMojo if ( outputProperty != null ) { project.getProperties().setProperty( outputProperty, cpString ); - if (getLog().isDebugEnabled()) + if ( getLog().isDebugEnabled() ) { getLog().debug( outputProperty + " = " + cpString ); } Modified: maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DependencyProjectStub.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DependencyProjectStub.java?rev=1442445&r1=1442444&r2=1442445&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DependencyProjectStub.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DependencyProjectStub.java Tue Feb 5 00:41:23 2013 @@ -230,14 +230,7 @@ public class DependencyProjectStub public boolean hasParent() { - if ( parent != null ) - { - return true; - } - else - { - return false; - } + return ( parent != null ); } public File getFile()