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
Make detekt less noisy #5448
Make detekt less noisy #5448
Conversation
@Deprecated( | ||
"You should pass a printStream", | ||
ReplaceWith("createKotlinCoreEnvironment(configuration, disposable, System.err)") | ||
) |
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.
printStream: PrintStream = System.err,
wouldn't work?
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.
It would. But that would break binary compatibility.
And I'm not a big fan of the default values, too be honest.
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.
agreed there, but when there's two other default values already :)
a @JvmOverloads would help with binary compat I think, and one less method, and one less deprecation warning to action for users.
Fixes #5436 (at least the regression part)