Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Upgrade commons-beanutils #297

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

vamshin
Copy link
Member

@vamshin vamshin commented Jan 4, 2021

Issue #, if available:
#269

Description of changes:
commons-beanutils:commons-beanutils:1.9.3 is coming from com.puppycrawl.tools:checkstyle:8.20. Added 'com.puppycrawl.tools:checkstyle:8.24' dependency. Also, added checkstyle.xml

Post update

./gradlew dependencies | grep commons-beanutils
     +--- commons-beanutils:commons-beanutils:1.9.4

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Jan 4, 2021

Codecov Report

Merging #297 (1953232) into master (aa5d1d4) will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #297      +/-   ##
============================================
+ Coverage     80.44%   80.51%   +0.06%     
- Complexity      387      388       +1     
============================================
  Files            62       62              
  Lines          1468     1468              
  Branches        130      130              
============================================
+ Hits           1181     1182       +1     
+ Misses          240      239       -1     
  Partials         47       47              
Impacted Files Coverage Δ Complexity Δ
...opendistroforelasticsearch/knn/index/KNNQuery.java 77.77% <0.00%> (+5.55%) 8.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa5d1d4...1953232. Read the comment docs.

Copy link
Member

@jmazanec15 jmazanec15 left a comment

Choose a reason for hiding this comment

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

Why do we need to add checkstyle.xml to upgrade commons-beanutils?

@vamshin vamshin requested a review from VijayanB January 5, 2021 19:01
@vamshin
Copy link
Member Author

vamshin commented Jan 14, 2021

Why do we need to add checkstyle.xml to upgrade commons-beanutils?

Was referring Performance Analyzer plugin opendistro-for-elasticsearch/performance-analyzer#248. With out adding the xml file, checkstyle fails at compilation.

<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
Copy link
Member

Choose a reason for hiding this comment

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

do we generally not add Apache 2.0 copyright notice in xml files? i don't find in performance analyzer too.

@vamshin vamshin merged commit 87c2fdb into opendistro-for-elasticsearch:master Jan 15, 2021
@VijayanB VijayanB added the Maintenance A change to add support for new versions from upstream label Feb 1, 2021
@jmazanec15 jmazanec15 changed the title upgrade commons-beanutils Upgrade commons-beanutils Feb 1, 2021
@VijayanB VijayanB added Enhancements Improvement on existing component and removed Maintenance A change to add support for new versions from upstream labels Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancements Improvement on existing component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants