Author: manik.surtani(a)jboss.com
Date: 2008-08-04 10:22:30 -0400 (Mon, 04 Aug 2008)
New Revision: 6497
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java
Log:
Compat with older marshaller
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java 2008-08-04
14:21:20 UTC (rev 6496)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/AbstractMarshaller.java 2008-08-04
14:22:30 UTC (rev 6497)
@@ -104,7 +104,7 @@
public Object objectFromByteBuffer(byte[] bytes) throws Exception
{
- throw new RuntimeException("Needs to be overridden!");
+ return objectFromByteBuffer(bytes, 0, bytes.length);
}
public Object objectFromByteBuffer(byte[] bytes, int offset, int len) throws
Exception
Show replies by date