Fixed error checking for 'containsKey'. no longer throws null pointer on

parent
This commit is contained in:
nathan 2015-02-13 02:55:45 +01:00
parent b191320ecc
commit b7e425e3b3
1 changed files with 1 additions and 1 deletions

View File

@ -130,6 +130,6 @@ public class ExecutionContext {
public boolean containsKey(String key) {
return properties.containsKey(key)
|| parent != null ? parent.containsKey(key) : false;
|| parent != null && parent.containsKey(key);
}
}