diff options
author | Simon McDuff | 2009-03-14 12:45:51 +0000 |
---|---|---|
committer | Simon McDuff | 2009-03-14 12:45:51 +0000 |
commit | c55fcc104a4c1effc4a5f587593cca7b5ba6f811 (patch) | |
tree | 454ddcda970ecc5903c6f5339bcac95267791080 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util | |
parent | ed0e1b1e3bd246b5c11ba88b166e1678703bc887 (diff) | |
download | cdo-c55fcc104a4c1effc4a5f587593cca7b5ba6f811.tar.gz cdo-c55fcc104a4c1effc4a5f587593cca7b5ba6f811.tar.xz cdo-c55fcc104a4c1effc4a5f587593cca7b5ba6f811.zip |
Since tags!
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util')
2 files changed, 12 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java index b7bc30df6e..2056996b29 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceAdapterFactory.java @@ -33,6 +33,7 @@ public class EresourceAdapterFactory extends AdapterFactoryImpl * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated + * @since 2.0 */ public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation"; diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java index ef766ec6c1..c28a215e90 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/util/EresourceSwitch.java @@ -35,6 +35,7 @@ public class EresourceSwitch<T> * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated + * @since 2.0 */ public static final String copyright = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation"; @@ -106,7 +107,9 @@ public class EresourceSwitch<T> CDOResourceNode cdoResourceNode = (CDOResourceNode)theEObject; T result = caseCDOResourceNode(cdoResourceNode); if (result == null) + { result = defaultCase(theEObject); + } return result; } case EresourcePackage.CDO_RESOURCE_FOLDER: @@ -114,9 +117,13 @@ public class EresourceSwitch<T> CDOResourceFolder cdoResourceFolder = (CDOResourceFolder)theEObject; T result = caseCDOResourceFolder(cdoResourceFolder); if (result == null) + { result = caseCDOResourceNode(cdoResourceFolder); + } if (result == null) + { result = defaultCase(theEObject); + } return result; } case EresourcePackage.CDO_RESOURCE: @@ -124,9 +131,13 @@ public class EresourceSwitch<T> CDOResource cdoResource = (CDOResource)theEObject; T result = caseCDOResource(cdoResource); if (result == null) + { result = caseCDOResourceNode(cdoResource); + } if (result == null) + { result = defaultCase(theEObject); + } return result; } default: |