-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONARJAVA-4440 Changes from feedback
* Update issue message to match RSPEC * Ignore enums with a single constant built with one ore more parameters * Add private constructor as secondary location * Add assignments as secondaries * Refactoring * Raise when class contains static fields of non-relevant types * Improve coverage * Cover cases where instance members are all private * Cover cases where an enum has more than one constant * Cover cases where the single constructor is public and takes parameters
- Loading branch information
1 parent
680c13f
commit f28ba8c
Showing
3 changed files
with
236 additions
and
41 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,4 @@ void test() { | |
.withCheck(new SingletonUsageCheck()) | ||
.verifyIssues(); | ||
} | ||
|
||
} |