Author: manik.surtani(a)jboss.com
Date: 2008-06-26 19:24:00 -0400 (Thu, 26 Jun 2008)
New Revision: 6077
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/VersionAwareMarshaller.java
Log:
Registered 30 as a valid version id
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/VersionAwareMarshaller.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/marshall/VersionAwareMarshaller.java 2008-06-26
23:09:12 UTC (rev 6076)
+++
core/trunk/src/main/java/org/jboss/cache/marshall/VersionAwareMarshaller.java 2008-06-26
23:24:00 UTC (rev 6077)
@@ -39,6 +39,7 @@
private static final int VERSION_200 = 20;
private static final int VERSION_210 = 21;
private static final int VERSION_220 = 22;
+ private static final int VERSION_300 = 30;
private static final int CUSTOM_MARSHALLER = 999;
private ComponentRegistry componentRegistry;
@@ -281,10 +282,11 @@
break;
case VERSION_220:
case VERSION_210:
+ case VERSION_300:
knownVersion = true;
default:
if (!knownVersion && log.isWarnEnabled())
- log.warn("Unknown replication version String. Falling back to the
default marshaller installed.");
+ log.warn("Unknown replication version [" + versionId + "].
Falling back to the default marshaller installed.");
marshaller = marshallers.get(VERSION_210);
if (marshaller == null)
{