You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by cu...@apache.org on 2018/05/23 21:59:43 UTC

[arrow] branch master updated: ARROW-2630: [JAVA] typo fix

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d9f0cca  ARROW-2630: [JAVA] typo fix
d9f0cca is described below

commit d9f0cca0f7e85599793016f9d956aa3f7931ea2d
Author: bomeng <bm...@us.ibm.com>
AuthorDate: Wed May 23 14:59:30 2018 -0700

    ARROW-2630: [JAVA] typo fix
    
    fixed a few typo while reading the codes / javadocs.
    
    Author: bomeng <bm...@us.ibm.com>
    
    Closes #2076 from bomeng/2630 and squashes the following commits:
    
    9c6fb5a <bomeng> typo fix
---
 .../java/org/apache/arrow/vector/ipc/message/MessageSerializer.java   | 4 ++--
 java/vector/src/main/java/org/apache/arrow/vector/util/Text.java      | 4 ++--
 .../test/java/org/apache/arrow/vector/ipc/MessageSerializerTest.java  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/MessageSerializer.java b/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/MessageSerializer.java
index e2f8f7d..0b409df 100644
--- a/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/MessageSerializer.java
+++ b/java/vector/src/main/java/org/apache/arrow/vector/ipc/message/MessageSerializer.java
@@ -191,7 +191,7 @@ public class MessageSerializer {
    * Deserializes a RecordBatch.
    *
    * @param reader  the reader interface to deserialize from
-   * @param message the object to derialize to
+   * @param message the object to deserialize to
    * @param alloc   to allocate buffers
    * @return the deserialized object
    * @throws IOException if something went wrong
@@ -210,7 +210,7 @@ public class MessageSerializer {
    * minimizes the number of reads to the underlying stream.
    *
    * @param in    the channel to deserialize from
-   * @param block the object to derialize to
+   * @param block the object to deserialize to
    * @param alloc to allocate buffers
    * @return the deserialized object
    * @throws IOException if something went wrong
diff --git a/java/vector/src/main/java/org/apache/arrow/vector/util/Text.java b/java/vector/src/main/java/org/apache/arrow/vector/util/Text.java
index 15ce132..50037bf 100644
--- a/java/vector/src/main/java/org/apache/arrow/vector/util/Text.java
+++ b/java/vector/src/main/java/org/apache/arrow/vector/util/Text.java
@@ -153,13 +153,13 @@ public class Text {
   }
 
   /**
-   * Finds any occurence of <code>what</code> in the backing buffer, starting as position <code>start</code>. The
+   * Finds any occurrence of <code>what</code> in the backing buffer, starting as position <code>start</code>. The
    * starting position is measured in bytes and the return value is in terms of byte position in the buffer. The backing
    * buffer is not converted to a string for this operation.
    *
    * @param what  the string to search for
    * @param start where to start from
-   * @return byte position of the first occurence of the search string in the UTF-8 buffer or -1 if not found
+   * @return byte position of the first occurrence of the search string in the UTF-8 buffer or -1 if not found
    */
   public int find(String what, int start) {
     try {
diff --git a/java/vector/src/test/java/org/apache/arrow/vector/ipc/MessageSerializerTest.java b/java/vector/src/test/java/org/apache/arrow/vector/ipc/MessageSerializerTest.java
index 239d303..064f500 100644
--- a/java/vector/src/test/java/org/apache/arrow/vector/ipc/MessageSerializerTest.java
+++ b/java/vector/src/test/java/org/apache/arrow/vector/ipc/MessageSerializerTest.java
@@ -94,7 +94,7 @@ public class MessageSerializerTest {
   public ExpectedException expectedEx = ExpectedException.none();
 
   @Test
-  public void testdeSerializeRecordBatchLongMetaData() throws IOException {
+  public void testDeserializeRecordBatchLongMetaData() throws IOException {
     expectedEx.expect(IOException.class);
     expectedEx.expectMessage("Cannot currently deserialize record batches over 2GB");
     int offset = 0;

-- 
To stop receiving notification emails like this one, please contact
cutlerb@apache.org.