No effective change - suppress warnings, simplify if

This commit is contained in:
Robin Bygrave committed 2015-08-01 21:16:03 +12:00
1 parent 6e5e5fb666
commit 0d2615522f
15 files changed
+51 -60

No files matched your search

@@ -94,6 +94,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> {
public void initialise() {
super.initialise();
if (!isTransient) {
//noinspection StatementWithEmptyBody
if (embedded) {
// no imported or exported information
} else if (!oneToOneExported) {
@@ -832,6 +833,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> {
writeJson.writeNullField(name);
} else {
//noinspection StatementWithEmptyBody
if (writeJson.isParentBean(value)) {
// bi-directional and already rendered parent