You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/09/11 14:18:00 UTC

[tomcat] 03/18: fix typo

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

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 0ab842e3c7cdc235a0272a30aee606cb4e3f8172
Author: kangzhidong <kz...@163.com>
AuthorDate: Sat Aug 24 23:41:25 2019 +0800

    fix typo
---
 java/org/apache/jasper/compiler/ELFunctionMapper.java           | 2 +-
 java/org/apache/jasper/compiler/tagplugin/TagPluginContext.java | 4 ++--
 java/org/apache/tomcat/util/modeler/Registry.java               | 2 +-
 java/org/apache/tomcat/util/modeler/RegistryMBean.java          | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/java/org/apache/jasper/compiler/ELFunctionMapper.java b/java/org/apache/jasper/compiler/ELFunctionMapper.java
index 8271783..ed004d9 100644
--- a/java/org/apache/jasper/compiler/ELFunctionMapper.java
+++ b/java/org/apache/jasper/compiler/ELFunctionMapper.java
@@ -295,7 +295,7 @@ public class ELFunctionMapper {
         }
 
         /*
-         * @return An unique name for a function mapper.
+         * @return A unique name for a function mapper.
          */
         private String getMapName() {
             return "_jspx_fnmap_" + currFunc++;
diff --git a/java/org/apache/jasper/compiler/tagplugin/TagPluginContext.java b/java/org/apache/jasper/compiler/tagplugin/TagPluginContext.java
index 16ea265..03159ea 100644
--- a/java/org/apache/jasper/compiler/tagplugin/TagPluginContext.java
+++ b/java/org/apache/jasper/compiler/tagplugin/TagPluginContext.java
@@ -37,7 +37,7 @@ public interface TagPluginContext {
     boolean isAttributeSpecified(String attribute);
 
     /**
-     * @return An unique temporary variable name that the plugin can use.
+     * @return A unique temporary variable name that the plugin can use.
      */
     String getTemporaryVariableName();
 
@@ -50,7 +50,7 @@ public interface TagPluginContext {
     /**
      * Generate a declaration in the of the generated class.  This can be
      * used to declare an inner class, a method, or a class variable.
-     * @param id An unique ID identifying the declaration.  It is not
+     * @param id A unique ID identifying the declaration.  It is not
      *           part of the declaration, and is used to ensure that the
      *           declaration will only appear once.  If this method is
      *           invoked with the same id more than once in the translation
diff --git a/java/org/apache/tomcat/util/modeler/Registry.java b/java/org/apache/tomcat/util/modeler/Registry.java
index bedd91c..0be0aff 100644
--- a/java/org/apache/tomcat/util/modeler/Registry.java
+++ b/java/org/apache/tomcat/util/modeler/Registry.java
@@ -283,7 +283,7 @@ public class Registry implements RegistryMBean, MBeanRegistration  {
      *
      * @param domain Namespace
      * @param name Type of the notification
-     * @return An unique id for the domain:name combination
+     * @return A unique id for the domain:name combination
      * @since 1.1
      */
     @Override
diff --git a/java/org/apache/tomcat/util/modeler/RegistryMBean.java b/java/org/apache/tomcat/util/modeler/RegistryMBean.java
index 17317ea..dd2debf 100644
--- a/java/org/apache/tomcat/util/modeler/RegistryMBean.java
+++ b/java/org/apache/tomcat/util/modeler/RegistryMBean.java
@@ -103,7 +103,7 @@ public interface RegistryMBean {
       *
       * @param domain Namespace
       * @param name  Type of the notification
-      * @return  An unique id for the domain:name combination
+      * @return  A unique id for the domain:name combination
       * @since 1.1
       */
     public int getId(String domain, String name);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org