From 293f7febe6ebcf6e898f5239256d8221ed204869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Murgey?= Date: Mon, 11 Sep 2023 13:42:33 +0200 Subject: [PATCH] Make constructor private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Murgey --- .../glsk_provider/GlskDocumentBasedGlskProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/glsk_provider/GlskDocumentBasedGlskProvider.java b/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/glsk_provider/GlskDocumentBasedGlskProvider.java index e9613fb7..1f519a5d 100644 --- a/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/glsk_provider/GlskDocumentBasedGlskProvider.java +++ b/flow-decomposition/src/main/java/com/powsybl/flow_decomposition/glsk_provider/GlskDocumentBasedGlskProvider.java @@ -23,12 +23,12 @@ /** * @author Sebastien Murgey {@literal } */ -public class GlskDocumentBasedGlskProvider implements GlskProvider { +public final class GlskDocumentBasedGlskProvider implements GlskProvider { private final GlskDocument glskDocument; private final Instant instant; private final boolean usingNetworkInstant; - public GlskDocumentBasedGlskProvider(GlskDocument glskDocument, Instant instant, boolean usingNetworkInstant) { + private GlskDocumentBasedGlskProvider(GlskDocument glskDocument, Instant instant, boolean usingNetworkInstant) { this.glskDocument = glskDocument; this.instant = instant; this.usingNetworkInstant = usingNetworkInstant;