From 0ceaccab2320921dd4349221e0ad75b2f6897237 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Wed, 15 Jan 2025 12:37:37 +0300 Subject: [PATCH] run spotlessApply --- .../java/org/smartregister/command/TranslateCommand.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/efsity-cli/src/main/java/org/smartregister/command/TranslateCommand.java b/efsity-cli/src/main/java/org/smartregister/command/TranslateCommand.java index 0792321..6758b00 100644 --- a/efsity-cli/src/main/java/org/smartregister/command/TranslateCommand.java +++ b/efsity-cli/src/main/java/org/smartregister/command/TranslateCommand.java @@ -16,7 +16,6 @@ import java.util.Iterator; import java.util.Map; import java.util.Properties; - import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull; import org.smartregister.util.FCTConstants; @@ -232,8 +231,7 @@ public void run() { ├── another_file.json */ - @NotNull - private static Path getTranslationDirectoryPath(@NotNull Path inputFilePath) { + @NotNull private static Path getTranslationDirectoryPath(@NotNull Path inputFilePath) { Objects.requireNonNull(inputFilePath, "Input file path cannot be null"); if (inputFilePath.endsWith("configs") || inputFilePath.endsWith("fhir_content")) { @@ -249,7 +247,6 @@ private static Path getTranslationDirectoryPath(@NotNull Path inputFilePath) { return inputFilePath.resolve("translation"); } - private static void mergeContent( Path inputFilePath, String translationFile, String locale, Set targetFields) throws IOException, NoSuchAlgorithmException {