From 7cde100cc6e732b0ff335e6f3de66d97544d06da Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 10 Apr 2018 07:10:53 +0200 Subject: Fix various Sonar warnings Change-Id: I0883042a80525b72f33e66fdb0d5b9e600dcc713 Signed-off-by: Marek Gradzki --- .../fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'infra/translate-impl/src') 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 d8936850c..35f1c90a1 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 { -- cgit 1.2.3-korg