Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Goubet2013-06-19 05:28:43 -0400
committerLaurent Goubet2013-06-19 08:13:24 -0400
commit4dff57de2128cb9e0220651059496bb6e106132c (patch)
tree115dd1c469ad46f4891bddafdd325315e71ac8a8 /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit
parent3284cfba4bf142bcc98459084f7ef0c9d3b05a64 (diff)
downloadorg.eclipse.emf.compare-4dff57de2128cb9e0220651059496bb6e106132c.tar.gz
org.eclipse.emf.compare-4dff57de2128cb9e0220651059496bb6e106132c.tar.xz
org.eclipse.emf.compare-4dff57de2128cb9e0220651059496bb6e106132c.zip
Deprecate use of EMFCompare#createDefaultScope(...)
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit')
-rw-r--r--plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit/AbstractTestCompareItemProviderAdapter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit/AbstractTestCompareItemProviderAdapter.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit/AbstractTestCompareItemProviderAdapter.java
index b077b6bc7..446467334 100644
--- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit/AbstractTestCompareItemProviderAdapter.java
+++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit/AbstractTestCompareItemProviderAdapter.java
@@ -28,6 +28,7 @@ import org.eclipse.emf.compare.Match;
import org.eclipse.emf.compare.ReferenceChange;
import org.eclipse.emf.compare.provider.CompareItemProviderAdapterFactory;
import org.eclipse.emf.compare.provider.spec.CompareItemProviderAdapterFactorySpec;
+import org.eclipse.emf.compare.scope.DefaultComparisonScope;
import org.eclipse.emf.compare.scope.IComparisonScope;
import org.eclipse.emf.compare.tests.edit.data.ResourceScopeProvider;
import org.eclipse.emf.ecore.EObject;
@@ -52,7 +53,7 @@ public class AbstractTestCompareItemProviderAdapter {
* @throws IOException
*/
protected static Comparison getComparison(ResourceScopeProvider scopeProvider) throws IOException {
- IComparisonScope scope = EMFCompare.createDefaultScope(scopeProvider.getLeft(), scopeProvider
+ final IComparisonScope scope = new DefaultComparisonScope(scopeProvider.getLeft(), scopeProvider
.getRight(), scopeProvider.getOrigin());
return EMFCompare.builder().build().compare(scope);
}

Back to the top