Author: markt Date: Fri Jul 26 08:56:15 2013 New Revision: 1507222 URL: http://svn.apache.org/r1507222 Log: Simplify The IDE will know the type and it is better for JMX to determine the type as not all objects will provide that info.
Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TesterPreparedStatement.java Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TesterPreparedStatement.java URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TesterPreparedStatement.java?rev=1507222&r1=1507221&r2=1507222&view=diff ============================================================================== --- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TesterPreparedStatement.java (original) +++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp2/TesterPreparedStatement.java Fri Jul 26 08:56:15 2013 @@ -434,6 +434,6 @@ public class TesterPreparedStatement ext @Override public String toString() { - return this.getClass().getName() + " [" + _sql + "]"; + return _sql; } }