Issue #3592 Fix issue with priority of file updates

Change-Id: I1404fc8f3c03fab7e828bf40ee01c8d03cfbda58

Former-commit-id: 554ea4118615055d4f2e0d80c58788f55c4b41e9
This commit is contained in:
Ron Anderson 2014-09-16 17:25:43 -05:00
parent 19bd85af5e
commit d8471fce1f

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;