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 f612f1c7c3ee6c4340020dc9f893df2410497992 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Sep 16 17:50:07 2020 +0100 Fix spellings in code forked from Commons Based on a PR provided by John Bampton --- java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java | 2 +- java/org/apache/tomcat/util/bcel/classfile/JavaClass.java | 2 +- java/org/apache/tomcat/util/http/fileupload/FileItem.java | 2 +- java/org/apache/tomcat/util/http/fileupload/FileItemIterator.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java b/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java index 0cc4ba7..f3ab072 100644 --- a/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java +++ b/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java @@ -27,7 +27,7 @@ import org.apache.tomcat.util.bcel.Const; * a parsed classfile. It may contain null references, due to the JVM * specification that skips an entry after an 8-byte constant (double, * long) entry. Those interested in generating constant pools - * programatically should see <a href="../generic/ConstantPoolGen.html"> + * programmatically should see <a href="../generic/ConstantPoolGen.html"> * ConstantPoolGen</a>. * @see Constant diff --git a/java/org/apache/tomcat/util/bcel/classfile/JavaClass.java b/java/org/apache/tomcat/util/bcel/classfile/JavaClass.java index df1cd21..46473ad 100644 --- a/java/org/apache/tomcat/util/bcel/classfile/JavaClass.java +++ b/java/org/apache/tomcat/util/bcel/classfile/JavaClass.java @@ -22,7 +22,7 @@ package org.apache.tomcat.util.bcel.classfile; * fields, methods and commands contained in a Java .class file. * See <a href="https://docs.oracle.com/javase/specs/">JVM specification</a> for details. * The intent of this class is to represent a parsed or otherwise existing - * class file. Those interested in programatically generating classes + * class file. Those interested in programmatically generating classes * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. */ public class JavaClass { diff --git a/java/org/apache/tomcat/util/http/fileupload/FileItem.java b/java/org/apache/tomcat/util/http/fileupload/FileItem.java index b7bdb55..29aa496 100644 --- a/java/org/apache/tomcat/util/http/fileupload/FileItem.java +++ b/java/org/apache/tomcat/util/http/fileupload/FileItem.java @@ -195,7 +195,7 @@ public interface FileItem extends FileItemHeadersSupport { * be used for storing the contents of the file. * * @return An {@link java.io.OutputStream OutputStream} that can be used - * for storing the contensts of the file. + * for storing the contents of the file. * * @throws IOException if an error occurs. */ diff --git a/java/org/apache/tomcat/util/http/fileupload/FileItemIterator.java b/java/org/apache/tomcat/util/http/fileupload/FileItemIterator.java index 9665312..59a81f4 100644 --- a/java/org/apache/tomcat/util/http/fileupload/FileItemIterator.java +++ b/java/org/apache/tomcat/util/http/fileupload/FileItemIterator.java @@ -52,7 +52,7 @@ public interface FileItemIterator { * By default, this value will be copied from the {@link FileUploadBase#getSizeMax() * FileUploadBase} object, however, the user may replace the default value with a * request specific value by invoking {@link #setSizeMax(long)} on this object. - * @return The maximum size of the complete HTTP requqest. The value -1 indicates "unlimited". + * @return The maximum size of the complete HTTP request. The value -1 indicates "unlimited". */ public long getSizeMax(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org