Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikaël Barbero2013-03-11 16:05:42 +0000
committerMikaël Barbero2013-03-11 16:36:20 +0000
commit0e74f5ff707e0d03d70014994259c3492d94fc1b (patch)
tree065dfc4971a6b7a87a6c96d44dfb31898aae8938
parentc8c4ba55f5e6f0628fa41a22a6df3dd7ebe46ec3 (diff)
downloadorg.eclipse.emf.compare-0e74f5ff707e0d03d70014994259c3492d94fc1b.tar.gz
org.eclipse.emf.compare-0e74f5ff707e0d03d70014994259c3492d94fc1b.tar.xz
org.eclipse.emf.compare-0e74f5ff707e0d03d70014994259c3492d94fc1b.zip
remove unused and deprecated EMFCompareConfiguration
-rw-r--r--plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/DiffUtilTest.java1
-rw-r--r--plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompare.java14
-rw-r--r--plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompareConfiguration.java80
3 files changed, 0 insertions, 95 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/DiffUtilTest.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/DiffUtilTest.java
index 117ba16ae..eeb145f90 100644
--- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/DiffUtilTest.java
+++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/DiffUtilTest.java
@@ -32,7 +32,6 @@ import org.eclipse.emf.compare.Diff;
import org.eclipse.emf.compare.DifferenceKind;
import org.eclipse.emf.compare.DifferenceSource;
import org.eclipse.emf.compare.EMFCompare;
-import org.eclipse.emf.compare.EMFCompareConfiguration;
import org.eclipse.emf.compare.scope.IComparisonScope;
import org.eclipse.emf.compare.tests.fullcomparison.data.identifier.IdentifierMatchInputData;
import org.eclipse.emf.compare.utils.DiffUtil;
diff --git a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompare.java b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompare.java
index c79dfbe40..f3082f470 100644
--- a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompare.java
+++ b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompare.java
@@ -96,20 +96,6 @@ public class EMFCompare {
}
/**
- * Creates a default EMF Compare Configuration.
- * <p>
- * This will use a basic monitor doing nothing to report progress.
- * </p>
- *
- * @return The default EMF Compare Configuration.
- */
- @Deprecated
- public static EMFCompareConfiguration createDefaultConfiguration() {
- final Monitor monitor = new BasicMonitor();
- return new EMFCompareConfiguration(monitor, null);
- }
-
- /**
* Creates a default comparison scope given its left and right notifiers.
* <p>
* The default comparison scope covers all proper content of the given notifiers, i.e any element
diff --git a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompareConfiguration.java b/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompareConfiguration.java
deleted file mode 100644
index 35c123a86..000000000
--- a/plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/EMFCompareConfiguration.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Obeo.
- * 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- *******************************************************************************/
-package org.eclipse.emf.compare;
-
-import static com.google.common.base.Preconditions.checkNotNull;
-
-import org.eclipse.emf.common.notify.impl.AdapterImpl;
-import org.eclipse.emf.common.util.Monitor;
-import org.eclipse.emf.compare.utils.IEqualityHelper;
-
-/**
- * Object used to configure the engines of EMFCompare (match, diff, requirement, equivalence, merge).
- * <p>
- * The default configuration as used by EMF Compare can be obtained through
- * {@link EMFCompare#createDefaultConfiguration()}.
- * </p>
- * <p>
- * Note that configuration instances can be automatically created through the use and customization of
- * {@link EMFCompare#newComparator(org.eclipse.emf.compare.scope.IComparisonScope)}.
- * </p>
- *
- * @author <a href="mailto:mikael.barbero@obeo.fr">Mikael Barbero</a>
- */
-@Deprecated
-public class EMFCompareConfiguration extends AdapterImpl {
- /** The monitor to report progress during the math/diff operation. */
- private final Monitor fMonitor;
-
- /**
- * Constructs a configuration to be used by EMF Compare.
- *
- * @param monitor
- * The progress monitor that should be used to report comparison progress to the user.
- * @param helper
- * The equality helper that should ne used by the comparison engine.
- */
- @Deprecated
- public EMFCompareConfiguration(Monitor monitor, IEqualityHelper helper) {
- this.fMonitor = checkNotNull(monitor);
- }
-
- /**
- * Returns the {@link Monitor} to report progress.
- *
- * @return the Monitor (never null).
- */
- @Deprecated
- public Monitor getMonitor() {
- return fMonitor;
- }
-
- /**
- * Returns the {@link IEqualityHelper}.
- *
- * @return the EqualityHelper (never null).
- * @see Comparison#getEqualityHelper()
- */
- @Deprecated
- public IEqualityHelper getEqualityHelper() {
- return null;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.common.notify.impl.AdapterImpl#isAdapterForType(java.lang.Object)
- */
- @Override
- public boolean isAdapterForType(Object type) {
- return type == EMFCompareConfiguration.class;
- }
-}

Back to the top