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 2021/08/04 03:05:04 UTC

[orc] branch branch-1.7 updated: MINOR: Remove org.apache.commons.lang usage (#811)

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

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


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new 2d57acc  MINOR: Remove org.apache.commons.lang usage (#811)
2d57acc is described below

commit 2d57acc8205b12ef5ea3b77611096cccd7bfcb7b
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Tue Aug 3 20:01:03 2021 -0700

    MINOR: Remove org.apache.commons.lang usage (#811)
    
    This PR removes `commons-lang` usage.
    
    Although ORC-734 removed commons-lang usage from Apache ORC in favor of lang3, ORC-742 seems to bring it back.
    
    Pass the CIs.
    
    (cherry picked from commit d60c3d13a8cef36716f0d67f020ecba1e371bcb4)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java b/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java
index d015516..ed8fa83 100644
--- a/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java
+++ b/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java
@@ -23,7 +23,7 @@ import java.time.LocalTime;
 import java.time.ZoneOffset;
 import java.time.chrono.ChronoLocalDate;
 import java.time.format.DateTimeFormatter;
-import org.apache.commons.lang.ArrayUtils;
+import org.apache.commons.lang3.ArrayUtils;
 import org.apache.hadoop.fs.FSDataInputStream;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hive.common.type.HiveDecimal;