Author: manik.surtani(a)jboss.com
Date: 2008-06-25 14:27:24 -0400 (Wed, 25 Jun 2008)
New Revision: 6043
Modified:
core/trunk/src/main/java/org/jboss/cache/optimistic/DefaultDataVersion.java
Log:
Should be marked as immutable
Modified: core/trunk/src/main/java/org/jboss/cache/optimistic/DefaultDataVersion.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/optimistic/DefaultDataVersion.java 2008-06-25
17:04:10 UTC (rev 6042)
+++ core/trunk/src/main/java/org/jboss/cache/optimistic/DefaultDataVersion.java 2008-06-25
18:27:24 UTC (rev 6043)
@@ -6,6 +6,8 @@
*/
package org.jboss.cache.optimistic;
+import net.jcip.annotations.Immutable;
+
/**
* The default implementation of a DataVersion, uses a <code>long</code> to
* compare versions.
@@ -17,6 +19,7 @@
*
* @author <a href="mailto:manik@jboss.org">Manik Surtani
(manik(a)jboss.org)</a>
*/
+@Immutable
public class DefaultDataVersion implements DataVersion
{
private static final long serialVersionUID = -6896315742831861046L;
Show replies by date