Author: scabanovich
Date: 2012-08-15 20:16:55 -0400 (Wed, 15 Aug 2012)
New Revision: 43059
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/CDIHyperlinkTestUtil.java
Log:
JBIDE-12417
https://issues.jboss.org/browse/JBIDE-12417
Replaced Set by Collection in interfaces.
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/CDIHyperlinkTestUtil.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/CDIHyperlinkTestUtil.java 2012-08-16
00:16:18 UTC (rev 43058)
+++
trunk/cdi/tests/org.jboss.tools.cdi.text.ext.test/src/org/jboss/tools/cdi/text/ext/test/CDIHyperlinkTestUtil.java 2012-08-16
00:16:55 UTC (rev 43059)
@@ -11,8 +11,8 @@
package org.jboss.tools.cdi.text.ext.test;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.List;
-import java.util.Set;
import junit.framework.TestCase;
@@ -525,7 +525,7 @@
return null;
}
- protected ICDIElement findCDIElement(Set<? extends ICDIElement> elements, String
elementPath){
+ protected ICDIElement findCDIElement(Collection<? extends ICDIElement> elements,
String elementPath){
for(ICDIElement element : elements){
if(elementPath.equals(element.getSourcePath().toString()))
return element;