Skip to content

Commit

Permalink
Fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Sep 28, 2024
1 parent f2ffbda commit b4bbb56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ClipboardContentGenerator(PreviewPreferences previewPreferences,
this.abbreviationRepository = abbreviationRepository;
}

public ClipboardContent generateCitation(List<BibEntry> selectedEntries, CitationStyleOutputFormat outputFormat, BibDatabaseContext bibDatabaseContext) throws IOException {
public ClipboardContent generate(List<BibEntry> selectedEntries, CitationStyleOutputFormat outputFormat, BibDatabaseContext bibDatabaseContext) throws IOException {
List<String> citations = generateCitations(selectedEntries, outputFormat, bibDatabaseContext);
PreviewLayout previewLayout = previewPreferences.getSelectedPreviewLayout();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void execute() {
}

private ClipboardContent generateCitations() throws IOException {
return clipboardContentGenerator.generateCitation(selectedEntries, outputFormat, stateManager.getActiveDatabase().get());
return clipboardContentGenerator.generate(selectedEntries, outputFormat, stateManager.getActiveDatabase().get());
}

private void setClipBoardContent(ClipboardContent clipBoardContent) {
Expand Down

0 comments on commit b4bbb56

Please sign in to comment.