Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tm.te.tcf.filesystem/src/org/eclipse/tm/te/tcf/filesystem/internal/properties/GeneralInformationPage.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tm.te.tcf.filesystem/src/org/eclipse/tm/te/tcf/filesystem/internal/properties/GeneralInformationPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tm.te.tcf.filesystem/src/org/eclipse/tm/te/tcf/filesystem/internal/properties/GeneralInformationPage.java b/target_explorer/plugins/org.eclipse.tm.te.tcf.filesystem/src/org/eclipse/tm/te/tcf/filesystem/internal/properties/GeneralInformationPage.java
index fe9e43945..759b0f3b6 100644
--- a/target_explorer/plugins/org.eclipse.tm.te.tcf.filesystem/src/org/eclipse/tm/te/tcf/filesystem/internal/properties/GeneralInformationPage.java
+++ b/target_explorer/plugins/org.eclipse.tm.te.tcf.filesystem/src/org/eclipse/tm/te/tcf/filesystem/internal/properties/GeneralInformationPage.java
@@ -13,6 +13,7 @@ import java.text.DateFormat;
import java.text.DecimalFormat;
import java.util.Date;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
@@ -254,7 +255,7 @@ public class GeneralInformationPage extends PropertyPage {
@Override
protected Control createContents(Composite parent) {
IAdaptable element = getElement();
- assert element != null && element instanceof FSTreeNode;
+ Assert.isTrue(element instanceof FSTreeNode);
FSTreeNode node = (FSTreeNode) element;
Composite page = new Composite(parent, SWT.NONE);

Back to the top