summaryrefslogtreecommitdiffstats
path: root/infra/translate-impl
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-04-10 07:10:53 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-04-10 07:10:59 +0200
commit7cde100cc6e732b0ff335e6f3de66d97544d06da (patch)
treeb423731d3041430d21419c61d68d565d08fd21e1 /infra/translate-impl
parent023dc70e4c10ccba8b4676687d6629a93aa9f058 (diff)
Fix various Sonar warnings
Change-Id: I0883042a80525b72f33e66fdb0d5b9e600dcc713 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/translate-impl')
-rw-r--r--infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java b/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java
index d893685..35f1c90 100644
--- a/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java
+++ b/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java
@@ -202,7 +202,7 @@ final class FlatWriterRegistry implements WriterRegistry {
if (writersData.isEmpty()) {
// If there are no data for current writer, but it is a SubtreeWriter and there are updates to
// its children, still invoke it with its root data
- if (writer instanceof SubtreeWriter<?> && isAffected(((SubtreeWriter<?>) writer), updates)) {
+ if (writer instanceof SubtreeWriter<?> && isAffected((SubtreeWriter<?>) writer, updates)) {
// Provide parent data for SubtreeWriter for further processing
writersData = getParentDataObjectUpdate(ctx, updates, writer);
} else {