Ref: add new static analyser rule: category/java/bestpractices.xml/LiteralsFirstInComparisons
This commit is contained in:
@@ -746,7 +746,7 @@ import java.util.regex.Pattern;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (getUpdateRenderingStatusMethod().equals(Job.UPDATE_METHOD_BY_TILE)) {
|
||||
else if (Job.UPDATE_METHOD_BY_TILE.equals(getUpdateRenderingStatusMethod())) {
|
||||
String search = " Tile ";
|
||||
int index = line.lastIndexOf(search);
|
||||
if (index != -1) {
|
||||
|
||||
Reference in New Issue
Block a user