[jboss-cvs] JBossCache/src/org/jboss/cache/buddyreplication ...
Elias Ross
genman at noderunner.net
Mon Dec 11 16:14:34 EST 2006
User: genman
Date: 06/12/11 16:14:34
Modified: src/org/jboss/cache/buddyreplication BuddyGroup.java
BuddyNotInitException.java
Log:
JBCACHE-902 - Add serialver
Revision Changes Path
1.8 +68 -60 JBossCache/src/org/jboss/cache/buddyreplication/BuddyGroup.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BuddyGroup.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/buddyreplication/BuddyGroup.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- BuddyGroup.java 10 May 2006 11:48:15 -0000 1.7
+++ BuddyGroup.java 11 Dec 2006 21:14:34 -0000 1.8
@@ -20,13 +20,21 @@
*/
public class BuddyGroup implements Serializable //Externalizable
{
+ /**
+ * Serial version.
+ */
+ private static final long serialVersionUID = 5391883716108410301L;
+
private String groupName;
+
private IpAddress dataOwner;
+
/**
* Vector<Address> - a list of JGroups addresses
*/
List buddies = Collections.synchronizedList(new ArrayList());
-// List buddies = new ArrayList();
+
+ // List buddies = new ArrayList();
public String getGroupName()
{
@@ -58,19 +66,19 @@
this.buddies = buddies;
}
-// public void writeExternal(ObjectOutput out) throws IOException
-// {
-// out.writeObject(groupName);
-// out.writeObject(dataOwner);
-// out.writeObject(buddies);
-// }
-//
-// public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
-// {
-// groupName = (String) in.readObject();
-// dataOwner = (IpAddress) in.readObject();
-// buddies = (List) in.readObject();
-// }
+ // public void writeExternal(ObjectOutput out) throws IOException
+ // {
+ // out.writeObject(groupName);
+ // out.writeObject(dataOwner);
+ // out.writeObject(buddies);
+ // }
+ //
+ // public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
+ // {
+ // groupName = (String) in.readObject();
+ // dataOwner = (IpAddress) in.readObject();
+ // buddies = (List) in.readObject();
+ // }
public String toString()
{
1.3 +2 -0 JBossCache/src/org/jboss/cache/buddyreplication/BuddyNotInitException.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BuddyNotInitException.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/buddyreplication/BuddyNotInitException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- BuddyNotInitException.java 10 Nov 2006 20:32:52 -0000 1.2
+++ BuddyNotInitException.java 11 Dec 2006 21:14:34 -0000 1.3
@@ -11,6 +11,8 @@
public class BuddyNotInitException extends CacheException
{
+ private static final long serialVersionUID = 8968506912780922157L;
+
public BuddyNotInitException()
{
}
More information about the jboss-cvs-commits
mailing list