summaryrefslogtreecommitdiff
path: root/forms/qa
diff options
context:
space:
mode:
Diffstat (limited to 'forms/qa')
-rw-r--r--forms/qa/integration/forms/BooleanValidator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/qa/integration/forms/BooleanValidator.java b/forms/qa/integration/forms/BooleanValidator.java
index dfd3fcaa5eb8..730c45f65eb9 100644
--- a/forms/qa/integration/forms/BooleanValidator.java
+++ b/forms/qa/integration/forms/BooleanValidator.java
@@ -43,7 +43,7 @@ public class BooleanValidator extends integration.forms.ControlValidator
if ( AnyConverter.isVoid( Value ) )
return "'indetermined' is not an allowed state";
boolean value = ((Boolean)Value).booleanValue();
- if ( m_preventChecked && ( value == true ) )
+ if ( m_preventChecked && ( value ) )
return "no no no. Don't check it.";
}
catch( java.lang.Exception e )
@@ -61,7 +61,7 @@ public class BooleanValidator extends integration.forms.ControlValidator
return false;
boolean value = ((Boolean)Value).booleanValue();
- if ( m_preventChecked && ( value == true ) )
+ if ( m_preventChecked && ( value ) )
return false;
return true;
}