summaryrefslogtreecommitdiffstats
path: root/v3po/translate-impl
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-05-11 09:20:08 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-05-11 09:22:27 +0200
commita506ae8b5a63a88886f842bd0722466db67b4f96 (patch)
treeeca09ec926c5854c19b7c96d0accda452b8b3a61 /v3po/translate-impl
parent70c818bfa7ad3b8a2d70e579068cd89f7fd72d94 (diff)
Add proper break statements to abstract reader
Change-Id: Iebb52d59e2e342151e616548722366985d7ee9a5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/translate-impl')
-rw-r--r--v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/read/AbstractCompositeReader.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/read/AbstractCompositeReader.java b/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/read/AbstractCompositeReader.java
index e8d79c538..f026d4f92 100644
--- a/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/read/AbstractCompositeReader.java
+++ b/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/read/AbstractCompositeReader.java
@@ -87,11 +87,13 @@ abstract class AbstractCompositeReader<D extends DataObject, B extends Builder<D
LOG.trace("{}: Reading current attributes", this);
readCurrentAttributes(id, builder, ctx);
readChildren(id, ctx, builder);
+ break;
}
case POSTORDER: {
readChildren(id, ctx, builder);
LOG.trace("{}: Reading current attributes", this);
readCurrentAttributes(id, builder, ctx);
+ break;
}
}