Author: pferraro
Date: 2008-12-03 11:03:52 -0500 (Wed, 03 Dec 2008)
New Revision: 2091
Modified:
trunk/mod_cluster/src/test/java/org/jboss/modcluster/load/metric/MBeanQueryLoadMetricSourceTestCase.java
Log:
Fix Java 1.6 incompatibility
Modified:
trunk/mod_cluster/src/test/java/org/jboss/modcluster/load/metric/MBeanQueryLoadMetricSourceTestCase.java
===================================================================
---
trunk/mod_cluster/src/test/java/org/jboss/modcluster/load/metric/MBeanQueryLoadMetricSourceTestCase.java 2008-12-02
21:33:48 UTC (rev 2090)
+++
trunk/mod_cluster/src/test/java/org/jboss/modcluster/load/metric/MBeanQueryLoadMetricSourceTestCase.java 2008-12-03
16:03:52 UTC (rev 2091)
@@ -68,7 +68,7 @@
{
Capture<ObjectName> capturedName = new Capture<ObjectName>();
- EasyMock.expect(this.server.queryNames(EasyMock.capture(capturedName), (QueryExp)
EasyMock.isNull())).andReturn(Collections.emptySet());
+ EasyMock.expect(this.server.queryNames(EasyMock.capture(capturedName), (QueryExp)
EasyMock.isNull())).andReturn(Collections.EMPTY_SET);
EasyMock.replay(this.server);
Show replies by date