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

[ISSUE #3395]Use isEmpty() to check whether the collection is empty or not.[ClientSessionGroupMapping] #3634

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

harshithasudhakar
Copy link
Member

Fixes #3395

Motivation

Using isEmpty() to check whether the collection is empty or not.

Modifications

Changed "size()>0" to "isEmpty()"

Documentation

  • Does this pull request introduce a new feature? (yes / no)
    No
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
    Not Applicable

Changed "size()>0" to "isEmpty()"
Copy link
Contributor

@Alonexc Alonexc left a comment

Choose a reason for hiding this comment

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

LGTM

@xwm1992 xwm1992 changed the title [ISSUE#3395]Use isEmpty() to check whether the collection is empty or not.[ClientSessionGroupMapping] [ISSUE #3395]Use isEmpty() to check whether the collection is empty or not.[ClientSessionGroupMapping] Apr 6, 2023
@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

Merging #3634 (5eaaa4d) into master (4eb819f) will not change coverage.
The diff coverage is 0.00%.

❗ Current head 5eaaa4d differs from pull request most recent head baa01d4. Consider uploading reports for the commit baa01d4 to get more accurate results

@@            Coverage Diff            @@
##             master    #3634   +/-   ##
=========================================
  Coverage     13.76%   13.76%           
  Complexity     1291     1291           
=========================================
  Files           571      571           
  Lines         29239    29239           
  Branches       2885     2885           
=========================================
  Hits           4024     4024           
  Misses        24841    24841           
  Partials        374      374           
Impacted Files Coverage Δ
...ol/tcp/client/group/ClientSessionGroupMapping.java 0.78% <0.00%> (ø)

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

@xwm1992 xwm1992 merged commit f3eb86f into apache:master Apr 6, 2023
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.

[Enhancement] Use isEmpty() to check whether the collection is empty or not.[ClientSessionGroupMapping]
3 participants