From 34a8f9c5aa20162c030a3bbf9457b0a657b692ea Mon Sep 17 00:00:00 2001 From: Sophie Frasnedo Date: Tue, 6 Jun 2023 16:53:24 +0200 Subject: [PATCH] decrease code smell number Signed-off-by: Sophie Frasnedo --- .../src/main/java/com/powsybl/nad/ParamBuilder.java | 1 + .../src/main/java/com/powsybl/sld/ParamBuilder.java | 1 + .../src/test/java/com/powsybl/sld/svg/SvgParametersTest.java | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/network-area-diagram/src/main/java/com/powsybl/nad/ParamBuilder.java b/network-area-diagram/src/main/java/com/powsybl/nad/ParamBuilder.java index 6211e3ee8..69d570ef8 100644 --- a/network-area-diagram/src/main/java/com/powsybl/nad/ParamBuilder.java +++ b/network-area-diagram/src/main/java/com/powsybl/nad/ParamBuilder.java @@ -46,6 +46,7 @@ public interface StyleProviderFactory { } public ParamBuilder() { + /* This builder is network-agnostic */ } public ParamBuilder withSvgParameters(SvgParameters svgParameters) { diff --git a/single-line-diagram/single-line-diagram-core/src/main/java/com/powsybl/sld/ParamBuilder.java b/single-line-diagram/single-line-diagram-core/src/main/java/com/powsybl/sld/ParamBuilder.java index d4e73a908..048e02b9b 100644 --- a/single-line-diagram/single-line-diagram-core/src/main/java/com/powsybl/sld/ParamBuilder.java +++ b/single-line-diagram/single-line-diagram-core/src/main/java/com/powsybl/sld/ParamBuilder.java @@ -51,6 +51,7 @@ public StyleProvider create(Network network) { } public ParamBuilder() { + /* This builder is network-agnostic */ } public ParamBuilder withSvgParameters(SvgParameters svgParameters) { diff --git a/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/svg/SvgParametersTest.java b/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/svg/SvgParametersTest.java index f3040dfc0..72374b778 100644 --- a/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/svg/SvgParametersTest.java +++ b/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/svg/SvgParametersTest.java @@ -13,7 +13,7 @@ /** * @author Sophie Frasnedo */ -public class SvgParametersTest { +class SvgParametersTest { @Test void test() {