Skip to content

Commit 001882c

Browse files
committed
cleaned code
1 parent fe05737 commit 001882c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microfocus/octane/plugins/views/CoverageUiHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ private static List<MapBasedObject> getCoverageGroups(SpaceConfiguration sc, Oct
121121
//in order to align with Octane test coverage tooltip
122122
//we add skipped category to requires attention
123123
addSkippedToRequiresAttention(statusId2group);
124+
statusId2group.remove(skippedStatus.getLogicalName());
124125

125126
int total = statusId2group.values().stream().mapToInt(o -> o.getCount()).sum();
126127
List<MapBasedObject> groups = statusId2group.entrySet().stream()
@@ -135,7 +136,6 @@ private static void addSkippedToRequiresAttention(Map<String, GroupEntity> statu
135136
if (statusId2group.containsKey(skippedStatus.getLogicalName())) {
136137
int skippedCount = statusId2group.get(skippedStatus.getLogicalName()).getCount();
137138
appendCountToExistingGroupOrCreateNewOne(statusId2group, needAttentionStatus.getLogicalName(), skippedCount);
138-
statusId2group.remove(skippedStatus.getLogicalName());
139139
}
140140
}
141141

0 commit comments

Comments
 (0)