diff options
-rw-r--r-- | qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java index a3008c2543c3..ebc0d985a8e1 100644 --- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java +++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java @@ -150,7 +150,7 @@ public class _XValidatableFormComponent extends MultiMethodTest //Get the properties being tested private void getPropsToTest(Property[] properties) { - String bound = ""; + StringBuilder sb = new StringBuilder(); for (int i = 0; i < properties.length; i++) { @@ -175,7 +175,7 @@ public class _XValidatableFormComponent extends MultiMethodTest || name.equals("Date") ) { - bound = (name + ";"); + sb = new StringBuilder(name + ";"); } if ( @@ -183,9 +183,11 @@ public class _XValidatableFormComponent extends MultiMethodTest && !name.equals("Enabled") ) { - bound += (name + ";"); + sb.append(name + ";"); } } + + String bound = sb.toString(); // endfor //get a array of bound properties |