Merge "ChangeNotesParser: Log only if entities were pruned"
This commit is contained in:
@@ -999,7 +999,8 @@ class ChangeNotesParser {
|
|||||||
|
|
||||||
private void updatePatchSetStates() {
|
private void updatePatchSetStates() {
|
||||||
Set<PatchSet.Id> missing = new TreeSet<>(comparing(PatchSet.Id::get));
|
Set<PatchSet.Id> missing = new TreeSet<>(comparing(PatchSet.Id::get));
|
||||||
missing.addAll(patchSets.keySet());
|
patchSets.keySet().stream().filter(p -> !patchSetCommitParsed(p)).forEach(p -> missing.add(p));
|
||||||
|
|
||||||
for (Map.Entry<PatchSet.Id, PatchSetState> e : patchSetStates.entrySet()) {
|
for (Map.Entry<PatchSet.Id, PatchSetState> e : patchSetStates.entrySet()) {
|
||||||
switch (e.getValue()) {
|
switch (e.getValue()) {
|
||||||
case PUBLISHED:
|
case PUBLISHED:
|
||||||
|
|||||||
Reference in New Issue
Block a user