Skip to content

Commit

Permalink
Merge pull request #3 from SPI-2023/fix-issue-429
Browse files Browse the repository at this point in the history
Fix format error
  • Loading branch information
desperadomzc authored May 22, 2023
2 parents 4124de5 + fdae1a0 commit be3e284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/jabref/cli/JabRefCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -326,7 +326,7 @@ public List<String> getLeftOver() {
return leftOver;
}

protected static String getExportFormatList(List<Exporter> exporters){
protected static String getExportFormatList(List<Exporter> exporters) {
StringBuilder sb = new StringBuilder();

for (Exporter exporter : exporters) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/jabref/cli/JabRefCLITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void wrapStringList() {
}

@Test
void uniformImportExportFormat(){
void uniformImportExportFormat() {
JabRefPreferences preferences = JabRefPreferences.getInstance();
JabRefCLI.printUsage(preferences);
}
Expand Down

0 comments on commit be3e284

Please sign in to comment.