This commit is contained in:
Timo Bejan 2021-10-11 20:54:27 +03:00
parent 1d296c5647
commit f7c083b347

View File

@ -61,7 +61,7 @@ public class AnalysisFlagsCalculationService {
hasRedactions = true;
}
if (!hasHints && (entry.isHint() && !type.equals("false_positive"))) {
if (!hasHints && entry.isHint() && !type.equals("false_positive")) {
hasHints = true;
}
@ -69,11 +69,11 @@ public class AnalysisFlagsCalculationService {
hasImages = true;
}
if (!hasSuggestions && (entry.isManual() && entry.getStatus().equals(AnnotationStatus.REQUESTED))) {
if (!hasSuggestions && entry.isManual() && entry.getStatus().equals(AnnotationStatus.REQUESTED)) {
hasSuggestions = true;
}
if (!hasComments && (entry.getComments() != null && !entry.getComments().isEmpty())) {
if (!hasComments && entry.getComments() != null && !entry.getComments().isEmpty()) {
hasComments = true;
}