pmd fix
This commit is contained in:
parent
1d296c5647
commit
f7c083b347
@ -61,7 +61,7 @@ public class AnalysisFlagsCalculationService {
|
|||||||
hasRedactions = true;
|
hasRedactions = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasHints && (entry.isHint() && !type.equals("false_positive"))) {
|
if (!hasHints && entry.isHint() && !type.equals("false_positive")) {
|
||||||
hasHints = true;
|
hasHints = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,11 +69,11 @@ public class AnalysisFlagsCalculationService {
|
|||||||
hasImages = true;
|
hasImages = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasSuggestions && (entry.isManual() && entry.getStatus().equals(AnnotationStatus.REQUESTED))) {
|
if (!hasSuggestions && entry.isManual() && entry.getStatus().equals(AnnotationStatus.REQUESTED)) {
|
||||||
hasSuggestions = true;
|
hasSuggestions = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasComments && (entry.getComments() != null && !entry.getComments().isEmpty())) {
|
if (!hasComments && entry.getComments() != null && !entry.getComments().isEmpty()) {
|
||||||
hasComments = true;
|
hasComments = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user