Skip to content

Commit

Permalink
Fix format error
Browse files Browse the repository at this point in the history
  • Loading branch information
desperadomzc committed May 22, 2023
1 parent d446af0 commit fdae1a0
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 fdae1a0

Please sign in to comment.