RED-9604 - Don't check that removed entries still have comments

This commit is contained in:
Andrei Isvoran 2024-07-11 08:59:21 +02:00
parent f49b922af0
commit a5d13fdab1

View File

@ -116,7 +116,7 @@ public class AnalysisFlagsCalculationService {
hasUpdates = true;
}
if (entry.getNumberOfComments() > 0) {
if (entry.getNumberOfComments() > 0 && !entry.getState().equals(EntryState.REMOVED)) {
hasComments = true;
}