-
Notifications
You must be signed in to change notification settings - Fork 578
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
Keep track of constructed BugReporters for TextUiCommandLine (#2047) #2894
Conversation
09c2e48
to
1d493d4
Compare
spotbugs/src/main/java/edu/umd/cs/findbugs/TextUICommandLine.java
Outdated
Show resolved
Hide resolved
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.
Thanks for the contribution! Just a small comment on my part
This fixes #2047
spotbugs/src/main/java/edu/umd/cs/findbugs/TextUICommandLine.java
Outdated
Show resolved
Hide resolved
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/TextUICommandLineTest.java
Outdated
Show resolved
Hide resolved
spotbugs/src/main/java/edu/umd/cs/findbugs/TextUICommandLine.java
Outdated
Show resolved
Hide resolved
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.
See my notes. I think clarity trumps anything else especially when this bloated the code instead of reducing it. I think its fine otherwise but nice clarity will help.
spotbugs-tests/src/test/java/edu/umd/cs/findbugs/TextUICommandLineTest.java
Show resolved
Hide resolved
adbff04
to
631003a
Compare
631003a
to
537f313
Compare
@Vogel612 Thanks! |
Updates TextUiCommandLine to avoid writing to the same output file multiple times.