[174060] [hotbug_request] Extensions Section doesn't check for null. Sync up with WTP154 changes
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/ExtensionsSection.java b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/ExtensionsSection.java
index 498baa4..226afad 100644
--- a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/ExtensionsSection.java
+++ b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/ExtensionsSection.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2001, 2006 IBM Corporation and others.
+ * Copyright (c) 2001, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -103,12 +103,12 @@
super.dispose();
if (adapter != null)
{
- ModelReconcileAdapter modelReconciler = adapter.getModelReconcileAdapter();
- if (modelReconciler != null)
+ ModelReconcileAdapter modelReconcileAdapter = adapter.getModelReconcileAdapter();
+ if (modelReconcileAdapter != null)
{
- modelReconciler.removeListener(internalNodeAdapter);
+ modelReconcileAdapter.removeListener(internalNodeAdapter);
}
- }
+ }
}
protected AddExtensionCommand getAddExtensionCommand(Object o)