Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-02-14 10:15:09 +0000
committerEike Stepper2011-02-14 10:15:09 +0000
commitcca85402a1c8768847a965c451eab8bf71e9f236 (patch)
tree4ae378164df256329b857cb27a2c5e1d8380f37e /plugins/org.eclipse.emf.cdo.defs
parent30a24d2432abed89e68bec689bfb64cc04a64f31 (diff)
downloadcdo-cca85402a1c8768847a965c451eab8bf71e9f236.tar.gz
cdo-cca85402a1c8768847a965c451eab8bf71e9f236.tar.xz
cdo-cca85402a1c8768847a965c451eab8bf71e9f236.zip
[336448] Switching branch in CDOSessionView does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336448
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.defs')
-rw-r--r--plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/EPackageDefImpl.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/EPackageDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/EPackageDefImpl.java
index c9fe6f9eee..f8f032022d 100644
--- a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/EPackageDefImpl.java
+++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/EPackageDefImpl.java
@@ -98,7 +98,9 @@ public abstract class EPackageDefImpl extends DefImpl implements EPackageDef
String oldNsURI = nsURI;
nsURI = newNsURI;
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.EPACKAGE_DEF__NS_URI, oldNsURI, nsURI));
+ }
}
/**
@@ -176,7 +178,9 @@ public abstract class EPackageDefImpl extends DefImpl implements EPackageDef
public String toString()
{
if (eIsProxy())
+ {
return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (nsURI: ");
@@ -192,7 +196,7 @@ public abstract class EPackageDefImpl extends DefImpl implements EPackageDef
protected void validateDefinition()
{
CheckUtil.checkState(eIsSet(CDODefsPackage.EPACKAGE_DEF__NS_URI) //
- && URI.create(getNsURI()) != null, "nsURI not set or not valid!");
+ && URI.create(getNsURI()) != null, "nsURI not set or invalid!");
}
} // EPackageDefImpl

Back to the top