Skip to content

Comments

Simplify expression (length is never < 0)#962

Merged
garydgregory merged 1 commit intoapache:masterfrom
arturobernalg:feature/never
Oct 8, 2022
Merged

Simplify expression (length is never < 0)#962
garydgregory merged 1 commit intoapache:masterfrom
arturobernalg:feature/never

Conversation

@arturobernalg
Copy link
Member

No description provided.

@codecov-commenter
Copy link

Codecov Report

Merging #962 (adc4ecb) into master (5cf676b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #962   +/-   ##
=========================================
  Coverage     91.99%   91.99%           
  Complexity     7431     7431           
=========================================
  Files           189      189           
  Lines         15668    15668           
  Branches       2913     2913           
=========================================
+ Hits          14413    14414    +1     
  Misses          677      677           
+ Partials        578      577    -1     
Impacted Files Coverage Δ
...va/org/apache/commons/lang3/CharSequenceUtils.java 91.93% <100.00%> (+0.80%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@garydgregory garydgregory changed the title No need conditions. Never is < 0 Simplify expression (length is never < 0) Oct 8, 2022
@garydgregory garydgregory merged commit a3a93d5 into apache:master Oct 8, 2022
garydgregory added a commit that referenced this pull request Oct 8, 2022
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.

3 participants