[jboss-svn-commits] JBL Code SVN: r24993 - labs/jbosstm/branches/JBOSSTS_4_2_3_GA_CP/atsintegration/classes/com/arjuna/ats/internal/jbossatx/jta.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jan 29 08:06:57 EST 2009
Author: jhalliday
Date: 2009-01-29 08:06:56 -0500 (Thu, 29 Jan 2009)
New Revision: 24993
Modified:
labs/jbosstm/branches/JBOSSTS_4_2_3_GA_CP/atsintegration/classes/com/arjuna/ats/internal/jbossatx/jta/AppServerJDBCXARecovery.java
Log:
Remove java 1.5 syntax in AppServerJDBCXARecovery. JBTM-483
Modified: labs/jbosstm/branches/JBOSSTS_4_2_3_GA_CP/atsintegration/classes/com/arjuna/ats/internal/jbossatx/jta/AppServerJDBCXARecovery.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_2_3_GA_CP/atsintegration/classes/com/arjuna/ats/internal/jbossatx/jta/AppServerJDBCXARecovery.java 2009-01-29 09:37:31 UTC (rev 24992)
+++ labs/jbosstm/branches/JBOSSTS_4_2_3_GA_CP/atsintegration/classes/com/arjuna/ats/internal/jbossatx/jta/AppServerJDBCXARecovery.java 2009-01-29 13:06:56 UTC (rev 24993)
@@ -231,8 +231,8 @@
try {
if (_connection != null && _supportsIsValidMethod) {
Connection connection = _connection.getConnection();
- Method method = connection.getClass().getMethod("isValid", Integer.class);
- isConnectionValid = (Boolean) method.invoke(connection, Integer.valueOf(5));
+ Method method = connection.getClass().getMethod("isValid", new Class[] {Integer.class});
+ isConnectionValid = (Boolean) method.invoke(connection, new Object[] {new Integer(5)});
} else {
isConnectionValid = Boolean.FALSE;
}
More information about the jboss-svn-commits
mailing list