[jboss-cvs] JBossAS SVN: r107063 - projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Jul 23 13:41:12 EDT 2010
Author: pferraro
Date: 2010-07-23 13:41:11 -0400 (Fri, 23 Jul 2010)
New Revision: 107063
Modified:
projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java
Log:
Add missing generics.
Modified: projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java
===================================================================
--- projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java 2010-07-23 17:40:23 UTC (rev 107062)
+++ projects/cluster/ha-server-api/trunk/src/main/java/org/jboss/ha/framework/interfaces/DistributedReplicantManager.java 2010-07-23 17:41:11 UTC (rev 107063)
@@ -132,8 +132,7 @@
* for the given key. This list will be in the same order in all
* nodes in the cluster.
*/
- @SuppressWarnings("unchecked")
- public List lookupReplicants(String key);
+ public List<?> lookupReplicants(String key);
/**
* Return a list of the names of all nodes that have registered a replicant
@@ -160,7 +159,7 @@
* @return A <code>Collection<String></code> of service names; i.e. the
* <code>key</code>s passed to {@link #add(String, Serializable)}
*/
- public Collection<String> getAllServices ();
+ public Collection<String> getAllServices();
/**
* Returns an id corresponding to the current view of this set of replicants.
@@ -180,6 +179,5 @@
* @param key The replicant name
* @return True if this node is the master
*/
- public boolean isMasterReplica (String key);
-
+ public boolean isMasterReplica(String key);
}
More information about the jboss-cvs-commits
mailing list