summaryrefslogtreecommitdiff
path: root/toolkit/qa/complex/toolkit/Assert.java
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/qa/complex/toolkit/Assert.java')
-rw-r--r--toolkit/qa/complex/toolkit/Assert.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/qa/complex/toolkit/Assert.java b/toolkit/qa/complex/toolkit/Assert.java
index 609befcc3dd6..a413fb8e7ff3 100644
--- a/toolkit/qa/complex/toolkit/Assert.java
+++ b/toolkit/qa/complex/toolkit/Assert.java
@@ -51,7 +51,7 @@ public class Assert
boolean noExceptionAllowed = ( i_expectedExceptionClass == null );
- boolean caughtExpected = noExceptionAllowed ? true : false;
+ boolean caughtExpected = noExceptionAllowed;
try
{
Method method = impl_getMethod( objectClass, i_methodName, i_argClasses );