Issue #3592 Fix issue with priority of file updates

Change-Id: I1404fc8f3c03fab7e828bf40ee01c8d03cfbda58

Former-commit-id: f0c5e465b8 [formerly 554ea4118615055d4f2e0d80c58788f55c4b41e9]
Former-commit-id: d8471fce1f
This commit is contained in:
Ron Anderson 2014-09-16 17:25:43 -05:00
parent 8f9f4608f1
commit 28ad0619d2

View file

@ -221,7 +221,11 @@ public class SelectTimeRangeManager implements ISelectTimeRangeManager,
message.getContext(), message.getFileName());
range = loadTimeRange(lf);
if (range != null) {
this.rangeMap.put(range.getName(), range);
SelectTimeRange existing = this.rangeMap.get(range.getName());
if ((existing == null)
|| (existing.getLevel().compareTo(range.getLevel()) <= 0)) {
this.rangeMap.put(range.getName(), range);
}
}
break;