Skip to content

Commit

Permalink
removing the non-used isXA property
Browse files Browse the repository at this point in the history
  • Loading branch information
clebertsuconic committed Jun 15, 2010
1 parent 0c66f4d commit abfdade
Showing 1 changed file with 1 addition and 46 deletions.
47 changes: 1 addition & 46 deletions src/main/org/hornetq/ra/HornetQRAProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ public class HornetQRAProperties extends ConnectionFactoryProperties implements
/** The password */
private String password;

/** Use XA */
private Boolean useXA;

/** Use Local TX instead of XA */
private Boolean localTx = false;

Expand Down Expand Up @@ -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.