Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Oct 28, 2020

Calling getClass() is likely to return an internal Proxy class (ie
com.sun.proxy.$Proxy1) so use annotationType() instead.

Assignment in an if statement is ambiguous so wrap in parens to make it
obvious that it's intended.

This are things that our compiler will fail on.

Calling getClass() is likely to return an internal Proxy class (ie
com.sun.proxy.$Proxy1) so use annotationType() instead.

Assignment in an if statement is ambiguous so wrap in parens to make it
obvious that it's intended.

This are things that our compiler will fail on.
@codecov-io
Copy link

codecov-io commented Oct 29, 2020

Codecov Report

Merging #1236 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1236   +/-   ##
=========================================
  Coverage     94.25%   94.25%           
  Complexity      455      455           
=========================================
  Files             2        2           
  Lines          6689     6689           
  Branches       1799     1799           
=========================================
  Hits           6305     6305           
  Misses          106      106           
  Partials        278      278           
Impacted Files Coverage Δ Complexity Δ
src/main/java/picocli/CommandLine.java 94.09% <100.00%> (ø) 314.00 <0.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 6ae8009...cc4ef4a. Read the comment docs.

@remkop remkop added this to the 4.6 milestone Oct 29, 2020
@remkop remkop merged commit 101c7a5 into remkop:master Oct 29, 2020
remkop added a commit that referenced this pull request Oct 29, 2020
@remkop
Copy link
Owner

remkop commented Oct 29, 2020

Merged.
Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants