diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-08-15 02:49:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-08-15 02:49:39 +0200 |
commit | 28f5e1b27c4150847cc4c2654c55d2881574a81a (patch) | |
tree | 3ac6a629c24b1a28ef13a3c70661c7e95bf3eff7 /forms/qa | |
parent | 265a458cda15e69b719ee4b9ea8f33d14476ae44 (diff) |
Some PMD cleaning
Diffstat (limited to 'forms/qa')
-rw-r--r-- | forms/qa/integration/forms/FormControlTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java index 7fdf68dea796..6c455a8064f4 100644 --- a/forms/qa/integration/forms/FormControlTest.java +++ b/forms/qa/integration/forms/FormControlTest.java @@ -679,10 +679,12 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE { try { - if ( fieldName.equals( "f_time" ) ) + if ( ( "f_time" ).equals(fieldName) ) // http://bugs.mysql.com/bug.php?id=5681 return true; - + if (fieldName == null) { + return false; + } int currentValue = ((Integer)getControlModel( fieldName ).getPropertyValue( propertyName )).intValue(); if ( currentValue != requiredValue ) { |