You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2023/10/11 03:06:48 UTC

[orc] branch main updated: ORC-1516: Fixed minor typo in IOUtils

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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new e5d0adae7 ORC-1516: Fixed minor typo in IOUtils
e5d0adae7 is described below

commit e5d0adae7c24bc47bef65a87979bd46dcb33b18b
Author: mystic-lama <my...@gmail.com>
AuthorDate: Tue Oct 10 20:06:40 2023 -0700

    ORC-1516: Fixed minor typo in IOUtils
    
    ### What changes were proposed in this pull request?
    The PR fixes a minor typo in comments section in org.apache.orc.impl.IOUtils at Line 127.
    
    ### Why are the changes needed?
    The changes are more cosmetic and corrects the statement
    
    ### How was this patch tested?
    Change is within code comment, no Test updates needed.
    
    Closes #1634 from mystic-lama/fix_typo_ioutils.
    
    Authored-by: mystic-lama <my...@gmail.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/core/src/java/org/apache/orc/impl/IOUtils.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/core/src/java/org/apache/orc/impl/IOUtils.java b/java/core/src/java/org/apache/orc/impl/IOUtils.java
index ff13bdaec..d58029415 100644
--- a/java/core/src/java/org/apache/orc/impl/IOUtils.java
+++ b/java/core/src/java/org/apache/orc/impl/IOUtils.java
@@ -124,8 +124,8 @@ public final class IOUtils {
     }
     /*
      * N.B. no need to synchronize access to SKIP_BYTE_BUFFER: - we don't care if the buffer is created multiple
-     * times (the data is ignored) - we always use the same size buffer, so if it it is recreated it will still be
-     * OK (if the buffer size were variable, we would need to synch. to ensure some other thread did not create a
+     * times (the data is ignored) - we always use the same size buffer, so if it is recreated it will still be
+     * OK (if the buffer size were variable, we would need to sync to ensure some other thread did not create a
      * smaller one)
      */
     long remain = toSkip;