diff options
author | Laurent Goubet | 2013-06-19 09:28:43 +0000 |
---|---|---|
committer | Laurent Goubet | 2013-06-19 12:13:24 +0000 |
commit | 4dff57de2128cb9e0220651059496bb6e106132c (patch) | |
tree | 115dd1c469ad46f4891bddafdd325315e71ac8a8 /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/edit | |
parent | 3284cfba4bf142bcc98459084f7ef0c9d3b05a64 (diff) | |
download | org.eclipse.emf.compare-4dff57de2128cb9e0220651059496bb6e106132c.tar.gz org.eclipse.emf.compare-4dff57de2128cb9e0220651059496bb6e106132c.tar.xz org.eclipse.emf.compare-4dff57de2128cb9e0220651059496bb6e106132c.zip |
Deprecate use of EMFCompare#createDefaultScope(...)
Change-Id: Ie4af0c2180a6df04bad8edeba038e6dd1141cf63
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.java | 3 |
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); } |