From f4bfa954b00a4d8c81dab36d8d698c2ff820ad2d Mon Sep 17 00:00:00 2001 From: xHyroM Date: Wed, 30 Aug 2023 15:03:59 +0200 Subject: [PATCH] refactor(currency-money): make datadirectory final --- .../xhyrom/lighteco/currency/money/common/AbstractPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/common/AbstractPlugin.java b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/common/AbstractPlugin.java index 7cb4bd6..ad483e1 100644 --- a/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/common/AbstractPlugin.java +++ b/currency-money/src/main/java/dev/xhyrom/lighteco/currency/money/common/AbstractPlugin.java @@ -7,10 +7,10 @@ import lombok.Getter; import java.nio.file.Path; +@Getter public class AbstractPlugin implements Plugin { - @Getter private Config config; - private Path dataDirectory; + private final Path dataDirectory; public AbstractPlugin(Path dataDirectory) { this.dataDirectory = dataDirectory;