Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-05-06 08:19:14 +0000
committerEike Stepper2009-05-06 08:19:14 +0000
commit29020401a770e69c1038b4a914f42359882f9c8b (patch)
tree06fe94efe0a7314b285cb23103d7e7177d311ebf
parent8a7f557efdce6d9e4207b2592aad6cd898f61986 (diff)
downloadcdo-29020401a770e69c1038b4a914f42359882f9c8b.tar.gz
cdo-29020401a770e69c1038b4a914f42359882f9c8b.tar.xz
cdo-29020401a770e69c1038b4a914f42359882f9c8b.zip
formatting
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java10
-rw-r--r--releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java2
2 files changed, 3 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
index 967ac01cf6..fbad4b416c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
@@ -2519,14 +2519,9 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
*/
private class EditingDomainProviderAdapter implements Adapter, IEditingDomainProvider
{
- public boolean isAdapterForType(Object arg0)
+ public boolean isAdapterForType(Object type)
{
- if (arg0 == IEditingDomainProvider.class)
- {
- return true;
- }
-
- return false;
+ return type == IEditingDomainProvider.class;
}
public EditingDomain getEditingDomain()
@@ -2547,5 +2542,4 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
{
}
}
-
}
diff --git a/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java b/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java
index 000ec9a466..9199b8e105 100644
--- a/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java
+++ b/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java
@@ -124,7 +124,7 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.eresource.util.EresourceAdapterFactory", 3);
ignore("org.eclipse.emf.cdo.eresource.util.EresourceSwitch", 7);
ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOActionBarContributor", 5);
- ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOEditor", 12);
+ ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOEditor", 11);
ignore("org.eclipse.emf.cdo.internal.ui.editor.PluginDelegator", 1);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesFactoryImpl", 2);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl", 3);

Back to the top