Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/internal/PropertiesContainerPropertyTester.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/internal/PropertiesContainerPropertyTester.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/internal/PropertiesContainerPropertyTester.java b/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/internal/PropertiesContainerPropertyTester.java
index bfbc8ae6e..2735def4d 100644
--- a/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/internal/PropertiesContainerPropertyTester.java
+++ b/target_explorer/plugins/org.eclipse.tm.te.runtime/src/org/eclipse/tm/te/runtime/internal/PropertiesContainerPropertyTester.java
@@ -10,6 +10,7 @@
package org.eclipse.tm.te.runtime.internal;
import org.eclipse.core.expressions.PropertyTester;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.tm.te.runtime.interfaces.properties.IPropertiesContainer;
/**
@@ -43,7 +44,7 @@ public class PropertiesContainerPropertyTester extends PropertyTester {
* @return <code>True</code> if the property to test has the expected value, <code>false</code> otherwise.
*/
protected boolean testIsProperty(IPropertiesContainer node, Object[] args, Object expectedValue) {
- assert node != null;
+ Assert.isNotNull(node);
if (args != null && args.length > 0 && args[0] instanceof String) {
return node.isProperty((String)args[0], expectedValue);

Back to the top