-
Notifications
You must be signed in to change notification settings - Fork 39
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
Removing System.exit(1) #862
Conversation
### What's done: - we decided to remove System.exit(1) because of the diktat demo #860 - fixed logging
Codecov Report
@@ Coverage Diff @@
## master #862 +/- ##
============================================
+ Coverage 81.05% 81.07% +0.02%
- Complexity 2285 2287 +2
============================================
Files 100 100
Lines 5847 5855 +8
Branches 1813 1813
============================================
+ Hits 4739 4747 +8
Misses 286 286
Partials 822 822
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@@ -176,6 +176,10 @@ open class DiktatJavaExecTaskBase @Inject constructor( | |||
} | |||
.absolutePath | |||
} | |||
|
|||
companion object { | |||
private val log = LoggerFactory.getLogger(DiktatJavaExecTaskBase::class.java) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be using project.logger
in gradle plugin, I think we imported our logger here by mistake. Could you please change it's usages in this file? Then this logger will be not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, sure
diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/utils/AstNodeUtils.kt
Outdated
Show resolved
Hide resolved
…NodeUtils.kt Co-authored-by: Peter Trifanov <[email protected]>
### What's done: - style updates
… feature/logging
What's done:
Closes #860