maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1088425 - in /maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc: JavadocJar.java JavadocUtil.java ResourcesBundleMojo.java TestJavadocReport.java
Date Sun, 03 Apr 2011 21:55:20 GMT
Author: hboutemy
Date: Sun Apr  3 21:55:20 2011
New Revision: 1088425

URL: http://svn.apache.org/viewvc?rev=1088425&view=rev
Log:
fixed typos

Modified:
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/ResourcesBundleMojo.java
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/TestJavadocReport.java

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java?rev=1088425&r1=1088424&r2=1088425&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
Sun Apr  3 21:55:20 2011
@@ -308,7 +308,7 @@ public class JavadocJar
 
         try
         {
-            // we dont want Maven stuff
+            // we don't want Maven stuff
             archive.setAddMavenDescriptor( false );
             archiver.createArchive( project, archive );
         }

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java?rev=1088425&r1=1088424&r2=1088425&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
Sun Apr  3 21:55:20 2011
@@ -1129,7 +1129,7 @@ public class JavadocUtil
      * </pre>
      *
      * @param path which can contain multiple paths separated with a colon (<code>:</code>)
or a
-     * semi-colon (<code>;</code>), plateform independent. Could be null.
+     * semi-colon (<code>;</code>), platform independent. Could be null.
      * @return the path splitted by colon or semi-colon or <code>null</code>
if path was <code>null</code>.
      * @since 2.6.1
      */
@@ -1151,7 +1151,7 @@ public class JavadocUtil
     }
 
     /**
-     * Unify the given path with the current System path separator, to be plateform independent.
+     * Unify the given path with the current System path separator, to be platform independent.
      * Examples:
      * <pre>
      * unifyPathSeparator( "/home:/tmp" ) = "/home:/tmp" (Solaris box)
@@ -1159,7 +1159,7 @@ public class JavadocUtil
      * </pre>
      *
      * @param path which can contain multiple paths by separating them with a colon (<code>:</code>)
or a
-     * semi-colon (<code>;</code>), plateform independent. Could be null.
+     * semi-colon (<code>;</code>), platform independent. Could be null.
      * @return the same path but separated with the current System path separator or <code>null</code>
if path was
      * <code>null</code>.
      * @since 2.6.1
@@ -1314,7 +1314,7 @@ public class JavadocUtil
     /**
      * @param log a logger could be null
      * @return the Maven home defined in the <code>maven.home</code> system property
or defined
-     * in <code>M2_HOME</code> system env variables or null if never setted.
+     * in <code>M2_HOME</code> system env variables or null if never set.
      * @since 2.6
      */
     private static String getMavenHome( Log log )

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/ResourcesBundleMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/ResourcesBundleMojo.java?rev=1088425&r1=1088424&r2=1088425&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/ResourcesBundleMojo.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/ResourcesBundleMojo.java
Sun Apr  3 21:55:20 2011
@@ -1,3 +1,5 @@
+package org.apache.maven.plugin.javadoc;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -17,8 +19,6 @@
  * under the License.
  */
 
-package org.apache.maven.plugin.javadoc;
-
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
 import org.apache.maven.plugin.javadoc.options.JavadocOptions;
@@ -107,7 +107,8 @@ public class ResourcesBundleMojo
         }
         
         File optionsFile = getJavadocOptionsFile();
-        File bundleFile = new File( getProject().getBuild().getDirectory(), finalName + "-"
+ getAttachmentClassifier() + ".jar" );
+        File bundleFile =
+            new File( getProject().getBuild().getDirectory(), finalName + "-" + getAttachmentClassifier()
+ ".jar" );
         try
         {
             archiver.addFile( optionsFile, BUNDLE_OPTIONS_PATH );
@@ -123,11 +124,13 @@ public class ResourcesBundleMojo
         }
         catch ( ArchiverException e )
         {
-            throw new MojoExecutionException( "Failed to assemble javadoc-resources bundle
archive. Reason: " + e.getMessage(), e );
+            throw new MojoExecutionException( "Failed to assemble javadoc-resources bundle
archive. Reason: "
+                + e.getMessage(), e );
         }
         catch ( IOException e )
         {
-            throw new MojoExecutionException( "Failed to assemble javadoc-resources bundle
archive. Reason: " + e.getMessage(), e );
+            throw new MojoExecutionException( "Failed to assemble javadoc-resources bundle
archive. Reason: "
+                + e.getMessage(), e );
         }
         
         projectHelper.attachArtifact( getProject(), bundleFile, getAttachmentClassifier()
);

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/TestJavadocReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/TestJavadocReport.java?rev=1088425&r1=1088424&r2=1088425&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/TestJavadocReport.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/TestJavadocReport.java
Sun Apr  3 21:55:20 2011
@@ -342,7 +342,7 @@ public class TestJavadocReport
     }
     
     /**
-     * Overriden to enable the resolution of -test-sources jar files.
+     * Overridden to enable the resolution of -test-sources jar files.
      * 
      * {@inheritDoc}
      */



Mime
View raw message