From 8faa57445c40f39c2fde3e34b1ed534c0c74362f Mon Sep 17 00:00:00 2001 From: Martin Fluegge Date: Tue, 18 May 2010 18:49:25 +0000 Subject: [308232] [Dawn] Develop collaborative support for GMF on CDO https://bugs.eclipse.org/bugs/show_bug.cgi?id=308232 --- .../emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel') diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java index e8976aee53..bc38c0d9cb 100644 --- a/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java +++ b/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel/src/org/eclipse/emf/cdo/dawn/codegen/dawngenmodel/util/DawngenmodelSwitch.java @@ -81,11 +81,8 @@ public class DawngenmodelSwitch { return doSwitch(theEClass.getClassifierID(), theEObject); } - else - { - List eSuperTypes = theEClass.getESuperTypes(); - return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject); - } + List eSuperTypes = theEClass.getESuperTypes(); + return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject); } /** -- cgit v1.2.3