Ref: add new static analyser rule: category/java/bestpractices.xml/LooseCoupling
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<rule ref="category/java/bestpractices.xml/UnusedPrivateField" />
|
||||
<rule ref="category/java/bestpractices.xml/UnusedPrivateMethod" />
|
||||
<rule ref="category/java/bestpractices.xml/UseCollectionIsEmpty" />
|
||||
|
||||
<rule ref="category/java/bestpractices.xml/LooseCoupling" />
|
||||
<rule ref="category/java/codestyle.xml/ExtendsObject" />
|
||||
<rule ref="category/java/codestyle.xml/ForLoopShouldBeWhileLoop" />
|
||||
<rule ref="category/java/codestyle.xml/TooManyStaticImports" />
|
||||
|
||||
@@ -366,7 +366,7 @@ import lombok.Data;
|
||||
* Only logs instances where something was detected, otherwise is it will only print "FilesystemHealthCheck started"
|
||||
* @return an ArrayList of Strings containing all logs of the FSHealth check
|
||||
*/
|
||||
public ArrayList<String> filesystemHealthCheck() {
|
||||
public List<String> filesystemHealthCheck() {
|
||||
ArrayList<String> logs = new ArrayList<>();
|
||||
String f = "FSHealth: ";
|
||||
logs.add(f + "FilesystemHealthCheck started");
|
||||
|
||||
Reference in New Issue
Block a user