avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject [avro] branch master updated: Fix typos in Javadoc (#601)
Date Mon, 05 Aug 2019 13:15:51 GMT
This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d60c81  Fix typos in Javadoc (#601)
1d60c81 is described below

commit 1d60c81c82f161f381c35bd5045e9a69b6d3c2ac
Author: zeshuai007 <51382517@qq.com>
AuthorDate: Mon Aug 5 21:15:45 2019 +0800

    Fix typos in Javadoc (#601)
---
 lang/java/avro/src/main/java/org/apache/avro/Conversion.java          | 2 +-
 lang/java/avro/src/test/java/org/apache/avro/util/CaseFinder.java     | 4 ++--
 .../org/apache/trevni/avro/mapreduce/AvroTrevniRecordWriterBase.java  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lang/java/avro/src/main/java/org/apache/avro/Conversion.java b/lang/java/avro/src/main/java/org/apache/avro/Conversion.java
index 18efe01..4ae75f4 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Conversion.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Conversion.java
@@ -64,7 +64,7 @@ public abstract class Conversion<T> {
   /**
    * Certain logical types may require adjusting the code within the "setter"
    * methods to make sure the data that is set is properly formatted. This method
-   * allows teh Conversion to generate custom setter code if required.
+   * allows the Conversion to generate custom setter code if required.
    * 
    * @param varName
    * @param valParamName
diff --git a/lang/java/avro/src/test/java/org/apache/avro/util/CaseFinder.java b/lang/java/avro/src/test/java/org/apache/avro/util/CaseFinder.java
index e0aa4f3..1684a93 100644
--- a/lang/java/avro/src/test/java/org/apache/avro/util/CaseFinder.java
+++ b/lang/java/avro/src/test/java/org/apache/avro/util/CaseFinder.java
@@ -184,8 +184,8 @@ public class CaseFinder {
   /**
    * Reads and returns content of a heredoc. Assumes we just read a
    * start-of-here-doc marker for a here-doc labeled "docMarker." Replaces
-   * arbitrary newlines with sytem newlines, but strips newline from final line of
-   * heredoc. Throws IOException if EOF is reached before heredoc is terminate.
+   * arbitrary newlines with system newlines, but strips newline from final line
+   * of heredoc. Throws IOException if EOF is reached before heredoc is terminate.
    */
   private static String processHereDoc(BufferedReader in, String docStart) throws IOException
{
     Matcher m = START_LINE_PATTERN.matcher(docStart);
diff --git a/lang/java/trevni/avro/src/main/java/org/apache/trevni/avro/mapreduce/AvroTrevniRecordWriterBase.java
b/lang/java/trevni/avro/src/main/java/org/apache/trevni/avro/mapreduce/AvroTrevniRecordWriterBase.java
index f93615c..3b8739d 100644
--- a/lang/java/trevni/avro/src/main/java/org/apache/trevni/avro/mapreduce/AvroTrevniRecordWriterBase.java
+++ b/lang/java/trevni/avro/src/main/java/org/apache/trevni/avro/mapreduce/AvroTrevniRecordWriterBase.java
@@ -41,7 +41,7 @@ import org.apache.trevni.avro.AvroColumnWriter;
  * @param <K> The type of key the record writer should generate.
  * @param <V> The type of value the record wrtier should generate.
  * @param <T> The type of the entries within the Trevni container file being
- *        writen.
+ *        written.
  */
 public abstract class AvroTrevniRecordWriterBase<K, V, T> extends RecordWriter<K,
V> {
 


Mime
View raw message