diff options
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/monitor/MonitorCancelTest.java')
-rw-r--r-- | plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/monitor/MonitorCancelTest.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/monitor/MonitorCancelTest.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/monitor/MonitorCancelTest.java index 063433443..c700146a7 100644 --- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/monitor/MonitorCancelTest.java +++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/monitor/MonitorCancelTest.java @@ -10,10 +10,9 @@ *******************************************************************************/ package org.eclipse.emf.compare.tests.monitor; +import static java.util.Collections.emptyIterator; import static org.junit.Assert.assertEquals; -import com.google.common.collect.Iterators; - import java.io.IOException; import java.util.Arrays; import java.util.Iterator; @@ -159,15 +158,15 @@ public class MonitorCancelTest { return new AbstractComparisonScope(null, null, null) { public Iterator<? extends Resource> getCoveredResources(ResourceSet resourceSet) { - return Iterators.emptyIterator(); + return emptyIterator(); } public Iterator<? extends EObject> getCoveredEObjects(Resource resource) { - return Iterators.emptyIterator(); + return emptyIterator(); } public Iterator<? extends EObject> getChildren(EObject eObject) { - return Iterators.emptyIterator(); + return emptyIterator(); } }; } |