Author: manik.surtani(a)jboss.com
Date: 2008-04-29 12:20:24 -0400 (Tue, 29 Apr 2008)
New Revision: 5757
Modified:
core/branches/2.1.X/src/test/java/org/jboss/cache/marshall/CacheMarshaller200Test.java
Log:
Suppress varargs warning
Modified:
core/branches/2.1.X/src/test/java/org/jboss/cache/marshall/CacheMarshaller200Test.java
===================================================================
---
core/branches/2.1.X/src/test/java/org/jboss/cache/marshall/CacheMarshaller200Test.java 2008-04-29
16:06:40 UTC (rev 5756)
+++
core/branches/2.1.X/src/test/java/org/jboss/cache/marshall/CacheMarshaller200Test.java 2008-04-29
16:20:24 UTC (rev 5757)
@@ -96,7 +96,7 @@
final Fqn region = Fqn.fromString("/hello");
Region r = rm.getRegion(region, true);
r.registerContextClassLoader(this.getClass().getClassLoader());
-
cm200.objectToObjectStream(MethodCallFactory.create(MethodDeclarations.clusteredGetMethod_id,
null), oos, region);
+
cm200.objectToObjectStream(MethodCallFactory.create(MethodDeclarations.clusteredGetMethod_id,
(Object) null), oos, region);
oos.close();
final byte[] stream = baos.toByteArray();
Show replies by date