No effective change - code cleanup - remove unused validateCascade property

This commit is contained in:
Robin Bygrave committed 2015-07-31 21:38:05 +12:00
1 parent 4807ca32be
commit c0fc7d69a6
4 files changed
+2 -45

No files matched your search

@@ -283,7 +283,7 @@ public class DeployBeanPropertyLists {
* Mode used to determine which BeanPropertyAssoc to include.
*/
private enum Mode {
Save, Delete, Validate
Save, Delete
}
private BeanPropertyAssocOne<?>[] getOne(boolean imported, Mode mode) {
@@ -302,11 +302,6 @@ public class DeployBeanPropertyLists {
list.add(prop);
}
break;
case Validate:
if (prop.getCascadeInfo().isValidate()) {
list.add(prop);
}
break;
default:
break;
}
@@ -349,15 +344,9 @@ public class DeployBeanPropertyLists {
list.add(prop);
}
break;
case Validate:
if (prop.getCascadeInfo().isValidate()) {
list.add(prop);
}
break;
default:
break;
}
}
return (BeanPropertyAssocMany[]) list.toArray(new BeanPropertyAssocMany[list.size()]);