Author: julien(a)jboss.com
Date: 2007-11-11 17:56:28 -0500 (Sun, 11 Nov 2007)
New Revision: 8870
Modified:
modules/common/trunk/common/src/test/java/org/jboss/portal/test/common/TypedMapTestCase.java
Log:
fix compile issue
Modified:
modules/common/trunk/common/src/test/java/org/jboss/portal/test/common/TypedMapTestCase.java
===================================================================
---
modules/common/trunk/common/src/test/java/org/jboss/portal/test/common/TypedMapTestCase.java 2007-11-11
22:31:47 UTC (rev 8869)
+++
modules/common/trunk/common/src/test/java/org/jboss/portal/test/common/TypedMapTestCase.java 2007-11-11
22:56:28 UTC (rev 8870)
@@ -369,12 +369,12 @@
}
//
- boolean changed = left.keySet().retainAll(new
CollectionBuilder().add("abc").add("def").add("ghi").toHashSet());
+ boolean changed =
left.keySet().retainAll(CollectionBuilder.hashSet().add("abc").add("def").add("ghi").get());
assertFalse(changed);
assertEquals(right, left.delegate);
//
- changed = left.keySet().retainAll(new
CollectionBuilder().add("def").toHashSet());
+ changed =
left.keySet().retainAll(CollectionBuilder.hashSet().add("def").get());
assertTrue(changed);
right.remove("abc");
right.remove("ghi");
Show replies by date