Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORC-734: Use org.apache.commons.lang3 #626

Merged
merged 1 commit into from Jan 14, 2021
Merged

ORC-734: Use org.apache.commons.lang3 #626

merged 1 commit into from Jan 14, 2021

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jan 14, 2021

What changes were proposed in this pull request?

Although ORC-682 upgraded to commons-lang3, we are still using commons-lang classes.

Why are the changes needed?

This will switch it completely.

How was this patch tested?

Pass the CIs.

These are the all instances.

$ git grep org.apache.commons.lang.
core/src/java/org/apache/orc/impl/RecordReaderUtils.java:import org.apache.commons.lang3.builder.HashCodeBuilder;
core/src/java/org/apache/orc/impl/mask/RedactMaskFactory.java:import org.apache.commons.lang3.StringUtils;
core/src/test/org/apache/orc/TestColumnStatistics.java:import org.apache.commons.lang3.RandomStringUtils;
core/src/test/org/apache/orc/TestColumnStatistics.java:import org.apache.commons.lang3.StringEscapeUtils;
core/src/test/org/apache/orc/TestUnicode.java:import org.apache.commons.lang3.StringUtils;
core/src/test/org/apache/orc/impl/TestPredicatePushDownBounds.java:import org.apache.commons.lang3.StringUtils;
mapreduce/src/java/org/apache/orc/mapred/OrcInputFormat.java:import org.apache.commons.lang3.StringUtils;
tools/src/java/org/apache/orc/tools/FileDump.java:import org.apache.commons.lang3.StringUtils;

@dongjoon-hyun
Copy link
Member Author

cc @pgaref

Copy link
Contributor

@pgaref pgaref left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dongjoon-hyun +1 from my side

@dongjoon-hyun
Copy link
Member Author

Thank you!

@dongjoon-hyun dongjoon-hyun merged commit 50764d0 into apache:master Jan 14, 2021
@dongjoon-hyun dongjoon-hyun deleted the ORC-734 branch January 14, 2021 21:24
dongjoon-hyun added a commit that referenced this pull request Jan 14, 2021
### What changes were proposed in this pull request?

Although ORC-682 upgraded to `commons-lang3`, we are still using `commons-lang` classes.

### Why are the changes needed?

This will switch it completely.

### How was this patch tested?

Pass the CIs.

These are the all instances.
```
$ git grep org.apache.commons.lang.
core/src/java/org/apache/orc/impl/RecordReaderUtils.java:import org.apache.commons.lang3.builder.HashCodeBuilder;
core/src/java/org/apache/orc/impl/mask/RedactMaskFactory.java:import org.apache.commons.lang3.StringUtils;
core/src/test/org/apache/orc/TestColumnStatistics.java:import org.apache.commons.lang3.RandomStringUtils;
core/src/test/org/apache/orc/TestColumnStatistics.java:import org.apache.commons.lang3.StringEscapeUtils;
core/src/test/org/apache/orc/TestUnicode.java:import org.apache.commons.lang3.StringUtils;
core/src/test/org/apache/orc/impl/TestPredicatePushDownBounds.java:import org.apache.commons.lang3.StringUtils;
mapreduce/src/java/org/apache/orc/mapred/OrcInputFormat.java:import org.apache.commons.lang3.StringUtils;
tools/src/java/org/apache/orc/tools/FileDump.java:import org.apache.commons.lang3.StringUtils;
```

(cherry picked from commit 50764d0)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member Author

Merged to master/branch-1.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants