Author: manik.surtani(a)jboss.com
Date: 2008-05-09 13:14:22 -0400 (Fri, 09 May 2008)
New Revision: 5823
Modified:
core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java
Log:
Breaks Maven site builds
Modified:
core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java 2008-05-09
17:06:27 UTC (rev 5822)
+++
core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java 2008-05-09
17:14:22 UTC (rev 5823)
@@ -67,6 +67,7 @@
* @param ctx invocation context
* @return a {@link org.jboss.cache.buddyreplication.GravitateResult} containing node
data, as well as information on whether this was found in a primary or backup tree.
*/
+ @SuppressWarnings("unchecked")
public Object perform(InvocationContext ctx)
{
// for now, perform a very simple series of getData calls.
@@ -100,7 +101,6 @@
Fqn backupRoot =
Fqn.fromRelativeElements(BuddyManager.BUDDY_BACKUP_SUBTREE_FQN, childName);
if (BuddyFqnTransformer.isDeadBackupRoot(backupRoot))
{
- @SuppressWarnings("unchecked")
Set<Integer> deadChildNames = new
TreeSet<Integer>(spi.getChildrenNames(backupRoot));
Integer[] elems = deadChildNames.toArray(new
Integer[deadChildNames.size()]);