[jboss-cvs] JBossAS SVN: r77750 - in trunk/testsuite/src/main/org/jboss/test/cluster: invokerha and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 1 08:54:26 EDT 2008


Author: galder.zamarreno at jboss.com
Date: 2008-09-01 08:54:26 -0400 (Mon, 01 Sep 2008)
New Revision: 77750

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/JRMPInvokerHaTransactionStickyUnitTestCase.java
   trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/UnifiedInvokerHaTransactionStickyUnitTestCase.java
   trunk/testsuite/src/main/org/jboss/test/cluster/invokerha/AbstractInvokerHaTransactionSticky.java
Log:
[JBAS-5850] Fix compilation issue when running build script.

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/JRMPInvokerHaTransactionStickyUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/JRMPInvokerHaTransactionStickyUnitTestCase.java	2008-09-01 12:16:57 UTC (rev 77749)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/JRMPInvokerHaTransactionStickyUnitTestCase.java	2008-09-01 12:54:26 UTC (rev 77750)
@@ -47,11 +47,11 @@
    }   
    
    @Override
-   protected List<Object> undeployChosenTargetNode(Object chosenTarget)
+   protected List undeployChosenTargetNode(Object chosenTarget)
    {
       List<? extends InvokerHA> replicants = infrastructure.getReplicants();
       replicants.remove(chosenTarget);
-      return (List<Object>) replicants;
+      return replicants;
    }
    
    public static class JRMPInvokerHaTransactionStickyFactory extends JRMPInvokerHaFactory

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/UnifiedInvokerHaTransactionStickyUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/UnifiedInvokerHaTransactionStickyUnitTestCase.java	2008-09-01 12:16:57 UTC (rev 77749)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/UnifiedInvokerHaTransactionStickyUnitTestCase.java	2008-09-01 12:54:26 UTC (rev 77750)
@@ -48,11 +48,11 @@
    }
    
    @Override
-   protected List<Object> undeployChosenTargetNode(Object chosenTarget)
+   protected List undeployChosenTargetNode(Object chosenTarget)
    {
       List<? extends InvokerLocator> locators = ((UnifiedInvokerHaInfrastructure)infrastructure).getLocators();
       locators.remove(chosenTarget);
-      return (List<Object>) locators;
+      return locators;
    }
    
    public static class UnifiedInvokerHaTransactionStickyFactory extends UnifiedInvokerHaFactory

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/invokerha/AbstractInvokerHaTransactionSticky.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/invokerha/AbstractInvokerHaTransactionSticky.java	2008-09-01 12:16:57 UTC (rev 77749)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/invokerha/AbstractInvokerHaTransactionSticky.java	2008-09-01 12:54:26 UTC (rev 77750)
@@ -316,7 +316,7 @@
     * Undeploy chosen target from the cluster and return the list of remaining 
     * targets in cluster.
     */
-   protected abstract List<Object> undeployChosenTargetNode(Object chosenTarget);
+   protected abstract List undeployChosenTargetNode(Object chosenTarget);
    
    protected void assertChosenTargetsInBetweenTx(Class<? extends LoadBalancePolicy> policyClass, Set<?> chosenTargetsTx1, Set<?> chosenTargetsTx2, boolean newProxiesInBetweenTransactions)
    {




More information about the jboss-cvs-commits mailing list