From 4e3d1512254104efd4ac36f5dd9b6119fc7f0a9f Mon Sep 17 00:00:00 2001 From: Ivan Kniazkov Date: Fri, 30 Aug 2024 13:48:30 +0300 Subject: [PATCH] Fix Qulice warnings --- .../cqfn/astranaut/core/utils/TreeVisualizerTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/cqfn/astranaut/core/utils/TreeVisualizerTest.java b/src/test/java/org/cqfn/astranaut/core/utils/TreeVisualizerTest.java index 733b5c7..b2b7d9c 100644 --- a/src/test/java/org/cqfn/astranaut/core/utils/TreeVisualizerTest.java +++ b/src/test/java/org/cqfn/astranaut/core/utils/TreeVisualizerTest.java @@ -183,6 +183,7 @@ void testColoredNodeVisualization(@TempDir final Path temp) { /** * Colored node for test purposes. + * @since 2.0.0 */ private static final class ColoredNode extends NodeAndType { @Override @@ -206,16 +207,16 @@ public int getChildCount() { } @Override - public Node getChild(int index) { + public Node getChild(final int index) { throw new IllegalStateException(); } @Override public Map getProperties() { return new MapUtils() - .put("color", "red") - .put("bgcolor", "yellow") - .make(); + .put("color", "red") + .put("bgcolor", "yellow") + .make(); } } }