Issue #1370 fix exception that occurs when cubes of derived parameters are only partially available.
Change-Id: Icd7a7acc2447d7a0d9cebe3107ea05281c2c4bbe Former-commit-id:3c52a369c0
[formerly41c4dadaf2
] [formerly4fc5859087
] [formerly3c52a369c0
[formerly41c4dadaf2
] [formerly4fc5859087
] [formerly1d4f377e7d
[formerly4fc5859087
[formerly 5fe57b5d66fdef047e5b91942c024175c2d3959d]]]] Former-commit-id:1d4f377e7d
Former-commit-id:8ee5d594a0
[formerly1961735800
] [formerly 03b0940b6d9dc23fe000d7aa66c160427fa1b6e8 [formerly18aff579ed
]] Former-commit-id: c843a95a28d999fdb312d8c0abab79c4a2d72818 [formerly3c9e24a020
] Former-commit-id:3fc1649932
This commit is contained in:
parent
d8281a2655
commit
fef62925c4
1 changed files with 4 additions and 4 deletions
|
@ -121,12 +121,12 @@ public class MetadataContainer {
|
|||
private Set<AbstractRequestableData> getData(AbstractRequestableNode node,
|
||||
Set<TimeAndSpace> availability, boolean doRequests)
|
||||
throws VizException {
|
||||
if (availability == null || availability.isEmpty()) {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
if (dataCache.containsKey(node)) {
|
||||
return dataCache.get(node);
|
||||
} else if (availability == null || availability.isEmpty()) {
|
||||
Set<AbstractRequestableData> data = Collections.emptySet();
|
||||
dataCache.put(node, data);
|
||||
return data;
|
||||
}
|
||||
if (doRequests) {
|
||||
generateAvailability(node, availability);
|
||||
|
|
Loading…
Add table
Reference in a new issue