This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit eaf3017e5e7022a83d2e6fc9cb937da7bbaac507 Author: kangzhidong <kzd...@163.com> AuthorDate: Sat Aug 24 23:41:25 2019 +0800 fix typo 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 | 4 ++-- java/org/apache/tomcat/util/modeler/RegistryMBean.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java/org/apache/jasper/compiler/ELFunctionMapper.java b/java/org/apache/jasper/compiler/ELFunctionMapper.java index cadff84..1381979 100644 --- a/java/org/apache/jasper/compiler/ELFunctionMapper.java +++ b/java/org/apache/jasper/compiler/ELFunctionMapper.java @@ -287,7 +287,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 1a0aecc..829bc03 100644 --- a/java/org/apache/tomcat/util/modeler/Registry.java +++ b/java/org/apache/tomcat/util/modeler/Registry.java @@ -343,8 +343,8 @@ public class Registry implements RegistryMBean, MBeanRegistration { * and for other operations we want to optimize. * * @param domain Namespace - * @param name Type of the notification - * @return An unique id for the domain:name combination + * @param name Type of the notification + * @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 ae256e7..097167c 100644 --- a/java/org/apache/tomcat/util/modeler/RegistryMBean.java +++ b/java/org/apache/tomcat/util/modeler/RegistryMBean.java @@ -116,7 +116,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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org