From: Juergen H. <jho...@us...> - 2006-08-17 16:12:41
|
Update of /cvsroot/springframework/spring/src/org/springframework/transaction/support In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv10493/src/org/springframework/transaction/support Modified Files: DefaultTransactionDefinition.java Log Message: polishing Index: DefaultTransactionDefinition.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/transaction/support/DefaultTransactionDefinition.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** DefaultTransactionDefinition.java 8 Mar 2006 13:22:52 -0000 1.14 --- DefaultTransactionDefinition.java 17 Aug 2006 16:12:36 -0000 1.15 *************** *** 216,229 **** /** ! * This implementation of equals compares the toString results. ! * @see #toString */ public boolean equals(Object other) { ! return (other instanceof TransactionDefinition) && toString().equals(other.toString()); } /** ! * This implementation of hashCode returns toString's hash code. ! * @see #toString */ public int hashCode() { --- 216,229 ---- /** ! * This implementation compares the <code>toString()</code> results. ! * @see #toString() */ public boolean equals(Object other) { ! return (other instanceof TransactionDefinition && toString().equals(other.toString())); } /** ! * This implementation returns <code>toString()</code>'s hash code. ! * @see #toString() */ public int hashCode() { *************** *** 245,249 **** /** * Return an identifying description of this transaction definition. ! * Available for subclasses. */ protected final StringBuffer getDefinitionDescription() { --- 245,249 ---- /** * Return an identifying description of this transaction definition. ! * <p>Available to subclasses, for inclusion in their <code>toString()</code> result. */ protected final StringBuffer getDefinitionDescription() { |