[jboss-svn-commits] JBL Code SVN: r37868 - in labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS: jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jan 30 09:03:54 EST 2012


Author: tomjenkinson
Date: 2012-01-30 09:03:53 -0500 (Mon, 30 Jan 2012)
New Revision: 37868

Modified:
   labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java
   labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/RecoveryEnablement.java
Log:
Deprecated some test only code

Modified: labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java	2012-01-25 09:52:43 UTC (rev 37867)
+++ labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java	2012-01-30 14:03:53 UTC (rev 37868)
@@ -1029,6 +1029,9 @@
 		_recoveryCoordinator = recCoord;
 	}
 
+	/**
+	 * @deprecated Only used in tests
+	 */
 	public final RecoveryCoordinator getRecoveryCoordinator()
 	{
 		return _recoveryCoordinator;

Modified: labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/RecoveryEnablement.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/RecoveryEnablement.java	2012-01-25 09:52:43 UTC (rev 37867)
+++ labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/RecoveryEnablement.java	2012-01-30 14:03:53 UTC (rev 37868)
@@ -82,6 +82,8 @@
      * This static method is used by the RecoveryManager to suppress
      * aspects of recovery enablement in it's own
      * process, without requiring further property manipulations
+     * 
+     * @deprecated Only used by tests
      */
 
     public static void isNotANormalProcess()
@@ -89,6 +91,10 @@
         _isNormalProcess = false;
     }
 
+    /**
+     * 
+     * @deprecated Only used by tests
+     */
     public static boolean isNormalProcess ()
     {
         return _isNormalProcess;



More information about the jboss-svn-commits mailing list