diff options
-rw-r--r-- | forms/qa/complex/forms/CheckOGroupBoxModel.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java index b76cda3d02d8..03eb496d8914 100644 --- a/forms/qa/complex/forms/CheckOGroupBoxModel.java +++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java @@ -129,11 +129,8 @@ public class CheckOGroupBoxModel Property[] properties = m_xPropSet.getPropertySetInfo().getProperties(); ArrayList<String> tNames = new ArrayList<String>(); - for (int i = 0; i < properties.length; i++) + for (Property property : properties) { - - Property property = properties[i]; - String name = property.Name; boolean isWritable = ((property.Attributes & PropertyAttribute.READONLY) == 0); boolean isNotNull = ((property.Attributes @@ -143,9 +140,8 @@ public class CheckOGroupBoxModel if (isWritable && isNotNull && isBound) { - tNames.add(name); + tNames.add(property.Name); } - } // endfor //get a array of bound properties |