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

Return non-nullable string in DebtSumming class #2113

Merged
merged 1 commit into from
Nov 27, 2019
Merged

Return non-nullable string in DebtSumming class #2113

merged 1 commit into from
Nov 27, 2019

Conversation

schalkms
Copy link
Member

Since StringBuilder.toString() can't return null, both methods in the
DebtSumming class also can't return null.

@codecov-io
Copy link

codecov-io commented Nov 21, 2019

Codecov Report

Merging #2113 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2113   +/-   ##
=========================================
  Coverage     80.48%   80.48%           
  Complexity     2018     2018           
=========================================
  Files           336      336           
  Lines          5802     5802           
  Branches       1064     1064           
=========================================
  Hits           4670     4670           
  Misses          564      564           
  Partials        568      568
Impacted Files Coverage Δ Complexity Δ
...itlab/arturbosch/detekt/cli/console/DebtSumming.kt 90% <ø> (ø) 7 <0> (ø) ⬇️

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 d3b1de2...36bd604. Read the comment docs.

@schalkms
Copy link
Member Author

schalkms commented Nov 21, 2019

TravisCI: Mac OS seems to have problems with JDK12.

@arturbosch
Copy link
Member

The build log tells us that Java 13 is used which is only supported by Gradle 6.0+

Since StringBuilder.toString() can't return null, both methods in the
DebtSumming class also can't return null.
@3flex 3flex merged commit 518272f into detekt:master Nov 27, 2019
@arturbosch arturbosch added this to the 1.2.1 milestone Nov 27, 2019
arturbosch pushed a commit that referenced this pull request Dec 5, 2019
Since StringBuilder.toString() can't return null, both methods in the
DebtSumming class also can't return null.
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
Since StringBuilder.toString() can't return null, both methods in the
DebtSumming class also can't return null.
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
Since StringBuilder.toString() can't return null, both methods in the
DebtSumming class also can't return null.
@schalkms schalkms deleted the DebtSumming-refactor branch December 30, 2019 16:33
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.

4 participants