From 91e2e8e838d7c8077a0b0368237e8bed0c22df64 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Sat, 25 Dec 2004 19:50:09 +0000 Subject: [PATCH] Switched to use the static call explicitly (yup, I just started using Eclipse again) git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138005 13f79535-47bb-0310-9956-ffa450edef68 --- .../lang/exception/NestableDelegateTestCase.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java b/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java index 149d83a5b..4825611b5 100644 --- a/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java +++ b/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java @@ -30,7 +30,7 @@ import junit.textui.TestRunner; * * @author Steven Caswell * @author Daniel Rall - * @version $Id: NestableDelegateTestCase.java,v 1.9 2004/10/09 10:45:24 scolebourne Exp $ + * @version $Id: NestableDelegateTestCase.java,v 1.10 2004/12/25 19:50:09 bayard Exp $ */ public class NestableDelegateTestCase extends junit.framework.TestCase { private static final String CONSTRUCTOR_FAILED_MSG = @@ -521,15 +521,15 @@ public class NestableDelegateTestCase extends junit.framework.TestCase { // Only testing the flags for jdk1.3 and below if (!ExceptionUtils.isThrowableNested()) { - d.topDown = true; d.trimStackFrames = true; + NestableDelegate.topDown = true; NestableDelegate.trimStackFrames = true; checkStackTrace(d, true, true, NestableDelegateTester1.class.getName()+": level 1", 24); - d.topDown = true; d.trimStackFrames = false; + NestableDelegate.topDown = true; NestableDelegate.trimStackFrames = false; checkStackTrace(d, true, false, NestableDelegateTester1.class.getName()+": level 1", 80); - d.topDown = false; d.trimStackFrames = true; + NestableDelegate.topDown = false; NestableDelegate.trimStackFrames = true; checkStackTrace(d, false, true, "java.lang.Exception: level 5", 24); - d.topDown = false; d.trimStackFrames = false; + NestableDelegate.topDown = false; NestableDelegate.trimStackFrames = false; checkStackTrace(d, false, false, "java.lang.Exception: level 5", 80); - d.topDown = true; d.trimStackFrames = true; + NestableDelegate.topDown = true; NestableDelegate.trimStackFrames = true; } } private void checkStackTrace(NestableDelegate d, boolean topDown, boolean trimStackFrames,