You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by me...@apache.org on 2025/01/13 20:21:44 UTC

(myfaces-build-tools) branch main updated: Fix spelling (#37)

This is an automated email from the ASF dual-hosted git repository.

melloware pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-build-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new f9d2f3c2 Fix spelling (#37)
f9d2f3c2 is described below

commit f9d2f3c2fdd689982e62cc44d1c56fe3c576d061
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Tue Jan 14 06:21:39 2025 +1000

    Fix spelling (#37)
---
 .../apache/myfaces/buildtools/maven2/plugin/builder/IOUtils.java  | 2 +-
 .../buildtools/maven2/plugin/builder/MakeComponentsMojo.java      | 2 +-
 .../myfaces/buildtools/maven2/plugin/builder/MakeConfigMojo.java  | 2 +-
 .../buildtools/maven2/plugin/builder/qdox/QdoxModelBuilder.java   | 2 +-
 .../buildtools/maven2/plugin/builder/qdox/_TagAttributes.java     | 4 ++--
 .../maven2/plugin/builder/trinidad/parse/ComponentBean.java       | 6 +++---
 .../maven2/plugin/builder/trinidad/parse/PropertyBean.java        | 8 ++++----
 maven2-plugins/myfaces-builder-plugin/src/site/apt/components.apt | 2 +-
 .../myfaces-builder-plugin/src/site/apt/config-files.apt          | 2 +-
 .../myfaces-javacc-plugin/src/test/resources/SelectorParser.jj    | 2 +-
 .../src/test/resources/validator/TokenMgrError.java               | 2 +-
 .../maven2/plugin/javascript/javascript20parser/JSParser20.java   | 2 +-
 .../plugin/javascript/javascript20parser/TokenMgrError.java       | 2 +-
 .../maven2/plugin/javascript/javascript20parser/js2.0.jj          | 4 ++--
 .../maven2/plugin/javascript/javascript20parser/js2.0.jjt         | 2 +-
 .../obfuscator/filters/obfuscation/state/FunctionState.java       | 2 +-
 .../obfuscator/filters/obfuscation/state/RootState.java           | 2 +-
 17 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/IOUtils.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/IOUtils.java
index 308adbca..029a73d0 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/IOUtils.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/IOUtils.java
@@ -270,7 +270,7 @@ public class IOUtils
                     || "provided".equals(artifact.getScope())
                     || "system".equals(artifact.getScope()))
             {
-                //This is safe since we have all depencencies on the
+                //This is safe since we have all dependencies on the
                 //pom, so they are downloaded first by maven.
                 File jarFile = artifact.getFile();
 
diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java
index 7e5bed79..49cac5f0 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeComponentsMojo.java
@@ -381,7 +381,7 @@ public class MakeComponentsMojo extends AbstractBuilderMojo
         {
             String srcDir = (String) i.next();
             File dir = new File(srcDir);
-            //recusively add files to the builder
+            //recursively add files to the builder
             // allows control to exclude files 
             addFilesToBuilder(builder,dir);
         }        
diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeConfigMojo.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeConfigMojo.java
index 64fb0f08..8cd0d06e 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeConfigMojo.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/MakeConfigMojo.java
@@ -63,7 +63,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
  * <ul>
  * <li>The name of the input template to be executed</li>
  * <li>The name of the output file to be created</li>
- * <li>Any number of variables which are accessable from the template
+ * <li>Any number of variables which are accessible from the template
  * (string values only)</li>
  * </ul>
  * </p>
diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/QdoxModelBuilder.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/QdoxModelBuilder.java
index 1c08c35f..97a5f468 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/QdoxModelBuilder.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/QdoxModelBuilder.java
@@ -120,7 +120,7 @@ public class QdoxModelBuilder implements ModelBuilder
         // we need to skip them.
         //
         // Hmm..as noted elsewhere, JavaClass objects representing parent
-        // classes are accessable via getParentClazz(). Presumably they are
+        // classes are accessible via getParentClazz(). Presumably they are
         // not in the array returned by builder.getClasses() though..
         for (Iterator it = model.getComponents().iterator(); it.hasNext();)
         {
diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/_TagAttributes.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/_TagAttributes.java
index 388346fb..da126797 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/_TagAttributes.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/_TagAttributes.java
@@ -28,8 +28,8 @@ import java.util.Set;
  * A set of TagAttributes, usually representing all attributes on a Tag.
  * 
  * TODO: PROFILE - Explore the possibility of using HashMap instead of sorted arrays. 
- *       The footprint should be higher, but the instanciation and access speed should be faster 
- *       Instanciation: from O(n log n) to O(1)
+ *       The footprint should be higher, but the instantiation and access speed should be faster
+ *       Instantiation: from O(n log n) to O(1)
  *       Access: from O(log n) to O(1)
  * 
  * @see org.apache.myfaces.view.facelets.tag.Tag
diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/ComponentBean.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/ComponentBean.java
index 6b204d43..05fc61a8 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/ComponentBean.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/ComponentBean.java
@@ -862,7 +862,7 @@ public class ComponentBean extends AbstractTagBean
    * (oracle.adf.view.rich.component.rich.RichDialog) lists
    * oracle-adf-richdialog-holder as a required ancestor contract, and
    * af:popup (oracle.adf.view.rich.component.rich.RichPopup) lists
-   * oracle-adf-richdialog-holder as a satisified contract.
+   * oracle-adf-richdialog-holder as a satisfied contract.
    *
    * @param requiredAncestorContracts  a space delimited string of required ancestor contracts
    */
@@ -882,7 +882,7 @@ public class ComponentBean extends AbstractTagBean
    * (oracle.adf.view.rich.component.rich.RichDialog) lists
    * oracle-adf-richdialog-holder as a required ancestor contract, and
    * af:popup (oracle.adf.view.rich.component.rich.RichPopup) lists
-   * oracle-adf-richdialog-holder as a satisified contract.
+   * oracle-adf-richdialog-holder as a satisfied contract.
    *
    * @param requiredAncestorContracts  a string array of the required ancestor contracts
    */
@@ -902,7 +902,7 @@ public class ComponentBean extends AbstractTagBean
    * (oracle.adf.view.rich.component.rich.RichDialog) lists
    * oracle-adf-richdialog-holder as a required ancestor contract, and
    * af:popup (oracle.adf.view.rich.component.rich.RichPopup) lists
-   * oracle-adf-richdialog-holder as a satisified contract.
+   * oracle-adf-richdialog-holder as a satisfied contract.
    *
    * @return  a java.util.Iterator of strings, where each string is the name
    *          of a required ancestor contract
diff --git a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/PropertyBean.java b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/PropertyBean.java
index 6da407cf..e253c152 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/PropertyBean.java
+++ b/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/trinidad/parse/PropertyBean.java
@@ -525,8 +525,8 @@ public class PropertyBean extends AttributeBean
   }
 
   /**
-   * Set if this property is overridding a property in an ancestor class.
-   * @param override if overridding a property
+   * Set if this property is overriding a property in an ancestor class.
+   * @param override if overriding a property
    */
   public void setOverride(boolean override)
   {
@@ -534,8 +534,8 @@ public class PropertyBean extends AttributeBean
   }
 
   /**
-   * Get if this property is overridding a property in an ancestor class.
-   * @return If the property is an overide
+   * Get if this property is overriding a property in an ancestor class.
+   * @return If the property is an override
    */
   public boolean isOverride()
   {
diff --git a/maven2-plugins/myfaces-builder-plugin/src/site/apt/components.apt b/maven2-plugins/myfaces-builder-plugin/src/site/apt/components.apt
index 03317b2b..b6c7e9fd 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/site/apt/components.apt
+++ b/maven2-plugins/myfaces-builder-plugin/src/site/apt/components.apt
@@ -220,7 +220,7 @@ Generating Component Tag Classes
     If you need to write some custom code on tag class, but keep some
     code generated, use abstract pattern on tag class. The properties that
     needs to be defined on abstract tag class must have inheritedTag="true",
-    so there are not overriden. See t:tree component for an example.  
+    so there are not overridden. See t:tree component for an example.
         
 Adding a Renderer to faces-config.xml file.
 
diff --git a/maven2-plugins/myfaces-builder-plugin/src/site/apt/config-files.apt b/maven2-plugins/myfaces-builder-plugin/src/site/apt/config-files.apt
index 9e537d7a..a75ffaa8 100644
--- a/maven2-plugins/myfaces-builder-plugin/src/site/apt/config-files.apt
+++ b/maven2-plugins/myfaces-builder-plugin/src/site/apt/config-files.apt
@@ -28,7 +28,7 @@ Configuration files (faces-config.xml, .tld, facelets taglib)
      xmlBaseFile + templateFile( model(s) to take in consideration ) = xmlFile
 -------------------------
     
-    It is enought flexible to generate any file based on the model.
+    It is enough flexible to generate any file based on the model.
     Some examples can be seen below.
     
 -------------------------
diff --git a/maven2-plugins/myfaces-javacc-plugin/src/test/resources/SelectorParser.jj b/maven2-plugins/myfaces-javacc-plugin/src/test/resources/SelectorParser.jj
index 92256239..ad177657 100644
--- a/maven2-plugins/myfaces-javacc-plugin/src/test/resources/SelectorParser.jj
+++ b/maven2-plugins/myfaces-javacc-plugin/src/test/resources/SelectorParser.jj
@@ -548,7 +548,7 @@ String stringLitteral() :
 {
     t = <STRING_LITERAL> 
     {
-    	// Decode the sting value.
+    	// Decode the string value.
     	String image = t.image;
     	for( int i=1; i < image.length()-1; i++ ) {
     		char c = image.charAt(i);
diff --git a/maven2-plugins/myfaces-javacc-plugin/src/test/resources/validator/TokenMgrError.java b/maven2-plugins/myfaces-javacc-plugin/src/test/resources/validator/TokenMgrError.java
index b85e906a..1b931982 100644
--- a/maven2-plugins/myfaces-javacc-plugin/src/test/resources/validator/TokenMgrError.java
+++ b/maven2-plugins/myfaces-javacc-plugin/src/test/resources/validator/TokenMgrError.java
@@ -52,7 +52,7 @@ public class TokenMgrError extends Error
    int errorCode;
 
    /**
-    * Replaces unprintable characters by their espaced (or unicode escaped)
+    * Replaces unprintable characters by their escaped (or unicode escaped)
     * equivalents in the given string
     */
    protected static final String addEscapes(String str) {
diff --git a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/JSParser20.java b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/JSParser20.java
index 081534de..96324c14 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/JSParser20.java
+++ b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/JSParser20.java
@@ -3205,7 +3205,7 @@ public class JSParser20/*@bgen(jjtree)*/implements JSParser20TreeConstants, JSPa
   }
 
 /////////////////////////////////////////////////////
-// Expresion Statement 
+// Expression Statement
 /////////////////////////////////////////////////////
   final public void ExpressionStatement() throws ParseException {
  /*@bgen(jjtree) ExpressionStatement */
diff --git a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/TokenMgrError.java b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/TokenMgrError.java
index 17a10844..7444b4cd 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/TokenMgrError.java
+++ b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/TokenMgrError.java
@@ -74,7 +74,7 @@ public class TokenMgrError extends Error
   }
 
   /**
-   * Replaces unprintable characters by their espaced (or unicode escaped)
+   * Replaces unprintable characters by their escaped (or unicode escaped)
    * equivalents in the given string
    */
   protected static final String addEscapes(String str)
diff --git a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jj b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jj
index 4ddd244b..03118dbc 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jj
+++ b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jj
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-
+
 /*@bgen(jjtree) Generated By:JJTree: Do not edit this line. .\js2.0.jj */
 /*@egen*/options {
     STATIC=false;                                                                
@@ -2593,7 +2593,7 @@ void EmptyStatement():
 }
 
 /////////////////////////////////////////////////////
-// Expresion Statement 
+// Expression Statement
 /////////////////////////////////////////////////////
 void ExpressionStatement():
 {/*@bgen(jjtree) ExpressionStatement */
diff --git a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jjt b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jjt
index 28035bc3..dd6d885d 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jjt
+++ b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/javascript20parser/js2.0.jjt
@@ -955,7 +955,7 @@ void EmptyStatement():
 }
 
 /////////////////////////////////////////////////////
-// Expresion Statement 
+// Expression Statement
 /////////////////////////////////////////////////////
 void ExpressionStatement():
 {}
diff --git a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/FunctionState.java b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/FunctionState.java
index 19895820..b361b0cb 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/FunctionState.java
+++ b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/FunctionState.java
@@ -33,7 +33,7 @@ public class FunctionState extends ObfuscationState
 {
   static private FunctionState _instance;
 
-  // private construnctor for singleton
+  // private constructor for singleton
   private FunctionState()
   {
   }
diff --git a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/RootState.java b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/RootState.java
index 6f082c68..3f83ca7a 100644
--- a/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/RootState.java
+++ b/maven2-plugins/myfaces-javascript-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/javascript/obfuscator/filters/obfuscation/state/RootState.java
@@ -28,7 +28,7 @@ public class RootState extends ObfuscationState
 {
   static private RootState _instance;
 
-  // private construnctor for singleton
+  // private constructor for singleton
   private RootState()
   {
   }