geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r505450 - /geronimo/server/trunk/modules/geronimo-corba/src/main/java/org/apache/geronimo/corba/transaction/nodistributedtransactions/NoDTxServerTransactionPolicies.java
Date Fri, 09 Feb 2007 19:40:42 GMT
Author: dain
Date: Fri Feb  9 11:40:41 2007
New Revision: 505450

URL: http://svn.apache.org/viewvc?view=rev&rev=505450
Log:
Hardcode max until new openejb snaps are available

Modified:
    geronimo/server/trunk/modules/geronimo-corba/src/main/java/org/apache/geronimo/corba/transaction/nodistributedtransactions/NoDTxServerTransactionPolicies.java

Modified: geronimo/server/trunk/modules/geronimo-corba/src/main/java/org/apache/geronimo/corba/transaction/nodistributedtransactions/NoDTxServerTransactionPolicies.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-corba/src/main/java/org/apache/geronimo/corba/transaction/nodistributedtransactions/NoDTxServerTransactionPolicies.java?view=diff&rev=505450&r1=505449&r2=505450
==============================================================================
--- geronimo/server/trunk/modules/geronimo-corba/src/main/java/org/apache/geronimo/corba/transaction/nodistributedtransactions/NoDTxServerTransactionPolicies.java
(original)
+++ geronimo/server/trunk/modules/geronimo-corba/src/main/java/org/apache/geronimo/corba/transaction/nodistributedtransactions/NoDTxServerTransactionPolicies.java
Fri Feb  9 11:40:41 2007
@@ -23,7 +23,8 @@
  * @version $Rev: 451417 $ $Date: 2006-09-29 13:13:22 -0700 (Fri, 29 Sep 2006) $
  */
 public class NoDTxServerTransactionPolicies {
-    private static final OperationTxPolicy[] policies = new OperationTxPolicy[DeploymentInfo.TX_MAX];
+    // toto remove hard coded max when new Openejb snapshots are published
+    private static final OperationTxPolicy[] policies = new OperationTxPolicy[5];
     static {
         policies[DeploymentInfo.TX_MANDITORY] = Required.INSTANCE;
         policies[DeploymentInfo.TX_NEVER] = NotRequired.INSTANCE;



Mime
View raw message