-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add Error Prone code style verification #632
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
5ae71f6
Add Error Prone code style verification
vlsi 43217ec
Remove LoggingManager class (it has been deprecated since JMeter 3.2)
vlsi 797f9e4
Use UTF-8 encoding in BeanShellClient instead of platform-specific one
vlsi f6b1bfa
Add JavaDoc summaries to RandomVariableConfig, CounterConfig, JavaSam…
vlsi f5e3d7a
Suppress error-prone errors for junit-sample
vlsi ba94b52
Replace obsolete Vector and Hashtable with ArrayList and HashMap
vlsi b3b2eec
Replace LinkedList with ArrayList
vlsi db768c0
Remove uses of deprecated APIs
vlsi 77d5d1b
Remove excessive parenthesis
vlsi 73b925c
Avoid unsafe reflection cast
vlsi f5c64e1
Avoid use of Enumeration in ClassFinder
vlsi e8fbfa7
Fixup JavaDocs
vlsi 9c92e99
Make constructors of abstract classes protected rather than public
vlsi 7e42131
Avoid import Map.Entry to avoid amboguity
vlsi 93e27d7
Use lower-case field names for non-static fields in StatCalculator
vlsi dc4bdc0
Make enums immutable
vlsi 63d791c
Suppresss MissingSummary and EmptyBlockTag for now
vlsi 599fcc9
Suppress deprecation warnings for TestResultAction
vlsi 2fde32b
Suppress deprecation warnings in SamplerMetricFixedModeTest
vlsi 80c3914
Suppress DefaultCharset usage: either suppress the warning or use a c…
vlsi e78352a
Fix InconsistentCapitalization warnings
vlsi 369f651
Suppress JdkObsolete warnings for Enumeration
vlsi deb89ba
Remove unused variables
vlsi 3d133a8
Suppress JdkObsolete warnings for usages of Date
vlsi 5f84f1e
Add missing @Override annotations
vlsi b1255aa
Mark empty catch blocks with a comment
vlsi d756670
Suppress FutureReturnValueIgnored
vlsi bb34632
Suppress Thread.yield usage
vlsi c441e5b
Suppress JavaTimeDefaultTimeZone
vlsi ac19a29
Inline format specifiers when they are used only once
vlsi ecf72b7
Resolve MixedMutabilityReturnType: make the returned lists unmodifiable
vlsi 8f5ca8d
Suppress UnnecessaryAnonymousClass as the only two warnings seem to b…
vlsi 8ae3458
Resolve SynchronizeOnNonFinalField
vlsi 9d7b694
Suppress warnings for Hashtable usage when the class is required for …
vlsi a4c1ab8
Move .lock() statements out of try to avoid accidetal release if lock…
vlsi ee0aead
Suppress StaticAssignmentInConstructor in Summarizer
vlsi 7e2a47d
Suppress JdkObsolete when using appendReplacement(StringBuffer,...)
vlsi 5fad27c
Suppress JavaLangClash for ThreadGroup
vlsi ebe65b8
Avoid NarrowingCompoundAssignment warning
vlsi 150a275
Make members of final classes package-private
vlsi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Are you sure about the potential breaks this might introduce ?
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.
I believe there's a movement to use UTF-8 by default.
Of course, we can make it configurable, however, I believe, most of the times UTF-8 by default would be better (less chances to corrupt data) than use platform-default encoding.