From fdae1a0a96b2d9bf4e8006da164ccc217b36b0a6 Mon Sep 17 00:00:00 2001 From: desperadomzc Date: Mon, 22 May 2023 19:04:38 +0930 Subject: [PATCH] Fix format error --- src/main/java/org/jabref/cli/JabRefCLI.java | 4 ++-- src/test/java/org/jabref/cli/JabRefCLITest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jabref/cli/JabRefCLI.java b/src/main/java/org/jabref/cli/JabRefCLI.java index e2a9330e1d1..ff4fcd63225 100644 --- a/src/main/java/org/jabref/cli/JabRefCLI.java +++ b/src/main/java/org/jabref/cli/JabRefCLI.java @@ -162,7 +162,7 @@ public boolean isWriteMetadatatoPdf() { public String getWriteMetadatatoPdf() { return cl.hasOption("writeMetadatatoPdf") ? cl.getOptionValue("writeMetadatatoPdf") : cl.hasOption("writeXMPtoPdf") ? cl.getOptionValue("writeXMPtoPdf") : - cl.hasOption("embeddBibfileInPdf") ? cl.getOptionValue("embeddBibfileInPdf") : null; + cl.hasOption("embeddBibfileInPdf") ? cl.getOptionValue("embeddBibfileInPdf") : null; } private static Options getOptions() { @@ -326,7 +326,7 @@ public List getLeftOver() { return leftOver; } - protected static String getExportFormatList(List exporters){ + protected static String getExportFormatList(List exporters) { StringBuilder sb = new StringBuilder(); for (Exporter exporter : exporters) { diff --git a/src/test/java/org/jabref/cli/JabRefCLITest.java b/src/test/java/org/jabref/cli/JabRefCLITest.java index 7fd6b4911f7..87b64d9bc63 100644 --- a/src/test/java/org/jabref/cli/JabRefCLITest.java +++ b/src/test/java/org/jabref/cli/JabRefCLITest.java @@ -146,7 +146,7 @@ void wrapStringList() { } @Test - void uniformImportExportFormat(){ + void uniformImportExportFormat() { JabRefPreferences preferences = JabRefPreferences.getInstance(); JabRefCLI.printUsage(preferences); }