Permalink
Browse files

removing the non-used isXA property

  • Loading branch information...
1 parent 0c66f4d commit abfdadee8f6108e887ab008df2e8466ddbc31556 @clebertsuconic clebertsuconic committed Jun 15, 2010
Showing with 1 addition and 46 deletions.
  1. +1 −46 src/main/org/hornetq/ra/HornetQRAProperties.java
@@ -41,9 +41,6 @@
/** The password */
private String password;
- /** Use XA */
- private Boolean useXA;
-
/** Use Local TX instead of XA */
private Boolean localTx = false;
@@ -172,53 +169,11 @@ public void setTransactionManagerLocatorMethod(final String transactionManagerLo
}
-
- /**
- * Get the use XA flag
- * @return The value
- */
- public Boolean getUseXA()
- {
- if (HornetQRAProperties.trace)
- {
- HornetQRAProperties.log.trace("getUseXA()");
- }
-
- return useXA;
- }
-
- /**
- * Set the use XA flag
- * @param xa The value
- */
- public void setUseXA(final Boolean xa)
- {
- if (HornetQRAProperties.trace)
- {
- HornetQRAProperties.log.trace("setUseXA(" + xa + ")");
- }
-
- useXA = xa;
- }
-
- /**
- * Use XA for communication
- * @return The value
- */
- public boolean isUseXA()
- {
- if (HornetQRAProperties.trace)
- {
- HornetQRAProperties.log.trace("isUseXA()");
- }
-
- return useXA != null && useXA;
- }
@Override
public String toString()
{
- return "HornetQRAProperties[useXA=" + useXA + ", localTx=" + localTx +
+ return "HornetQRAProperties[localTx=" + localTx +
", userName=" + userName + ", password=" + password + "]";
}
}

0 comments on commit abfdade

Please sign in to comment.