No effective change - style, merge ifs

This commit is contained in:
Rob Bygrave
2017-01-11 22:17:29 +13:00
parent fbfe5d1ff8
commit 3fb497b651
@@ -28,9 +28,7 @@ public class BindablePropertyUpdateGenerated extends BindableProperty {
* Add BindablePropertyUpdateGenerated if the property is loaded.
*/
public void addToUpdate(PersistRequestBean<?> request, List<Bindable> list) {
if (gen.includeInAllUpdates()) {
list.add(this);
} else if (request.isLoadedProperty(prop)) {
if (gen.includeInAllUpdates() || request.isLoadedProperty(prop)) {
list.add(this);
}
}