Update of /cvsroot/cweb/junit-ext/src/java/junit/framework
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv19053/src/java/junit/framework
Modified Files:
TestCase2.java
Log Message:
Use of generics commented out for 1.4 compatibility.
Index: TestCase2.java
===================================================================
RCS file: /cvsroot/cweb/junit-ext/src/java/junit/framework/TestCase2.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** TestCase2.java 18 Oct 2007 16:53:59 -0000 1.25
--- TestCase2.java 31 Oct 2007 09:51:03 -0000 1.26
***************
*** 2254,2258 ****
// * Place. This specifies how big an error we are willing to accept
// * in terms of the value of the least significant digit of the
! // * floating point numbers representation. <i>maxUlps</i> can
// * also be interpreted in terms of how many representable floats
// * we are willing to accept between A and B. This function will
--- 2254,2258 ----
// * Place. This specifies how big an error we are willing to accept
// * in terms of the value of the least significant digit of the
! // * floating point numbers representation. <i>maxUlps</i> can
// * also be interpreted in terms of how many representable floats
// * we are willing to accept between A and B. This function will
***************
*** 2329,2333 ****
// * Place. This specifies how big an error we are willing to accept
// * in terms of the value of the least significant digit of the
! // * floating point numbers representation. <i>maxUlps</i> can
// * also be interpreted in terms of how many representable doubles
// * we are willing to accept between A and B. This function will
--- 2329,2333 ----
// * Place. This specifies how big an error we are willing to accept
// * in terms of the value of the least significant digit of the
! // * floating point numbers representation. <i>maxUlps</i> can
// * also be interpreted in terms of how many representable doubles
// * we are willing to accept between A and B. This function will
***************
*** 2606,2610 ****
* if any parameter is null.
*/
! static public Throwable getInnerCause(Throwable t, Class<? extends Throwable> cls) {
if (t == null)
--- 2606,2612 ----
* if any parameter is null.
*/
! static public Throwable getInnerCause(Throwable t, Class cls) {
! // Note: Use of generics commented out for 1.4 compatibility.
! // static public Throwable getInnerCause(Throwable t, Class<? extends Throwable> cls) {
if (t == null)
***************
*** 2649,2653 ****
* if any parameter is null.
*/
! static public boolean isInnerCause(Throwable t, Class<? extends Throwable>cls) {
return getInnerCause(t, cls) != null;
--- 2651,2657 ----
* if any parameter is null.
*/
! static public boolean isInnerCause(Throwable t, Class cls) {
! // Note: Use of generics commented out for 1.4 compatibility.
! // static public boolean isInnerCause(Throwable t, Class<? extends Throwable>cls) {
return getInnerCause(t, cls) != null;
|