Skip to content

Commit 0d6cb31

Browse files
authored
Update javadoc (#13018)
Signed-off-by: subhramit <subhramit.bb@live.in>
1 parent 6716d54 commit 0d6cb31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jablib/src/main/java/org/jabref/logic/citationstyle/CSLAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public synchronized Citation makeCitation(List<BibEntry> bibEntries, String styl
6363
*
6464
* @param newStyle journal style of the output
6565
* @param newFormat usually HTML or RTF.
66-
* @throws IOException An error occurred in the underlying JavaScript framework
66+
* @throws IOException An error occurred in the underlying framework
6767
*/
6868
private void initialize(String newStyle, CitationStyleOutputFormat newFormat) throws IOException {
6969
final boolean newCslInstanceNeedsToBeCreated = (cslInstance == null) || !Objects.equals(newStyle, style);

jablib/src/main/java/org/jabref/logic/citationstyle/CitationStyleGenerator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private CitationStyleGenerator() {
2929
/**
3030
* Generates a citation based on a given list of entries, .csl style source content and output format with a given {@link BibDatabaseContext}.
3131
*
32-
* @implNote the citation is generated using JavaScript which may take some time, better call it from outside the main Thread
32+
* @implNote The citation is generated using an external library which may take some time, debatable if it is better to call it from outside the main Thread.
3333
*/
3434
public static String generateCitation(List<BibEntry> bibEntries, String style, CitationStyleOutputFormat outputFormat, BibDatabaseContext databaseContext, BibEntryTypesManager entryTypesManager) {
3535
try {
@@ -43,7 +43,7 @@ public static String generateCitation(List<BibEntry> bibEntries, String style, C
4343
/**
4444
* Generates a bibliography list in HTML format based on a given list of entries and .csl style source content with a default {@link BibDatabaseContext}.
4545
*
46-
* @implNote the bibliography is generated using JavaScript which may take some time, better call it from outside the main Thread
46+
* @implNote The bibliography is generated using an external library which may take some time, debatable if it is better to call it from outside the main Thread.
4747
*/
4848
protected static String generateBibliography(List<BibEntry> bibEntries, String style, BibEntryTypesManager entryTypesManager) {
4949
BibDatabaseContext context = new BibDatabaseContext(new BibDatabase(bibEntries));
@@ -54,7 +54,7 @@ protected static String generateBibliography(List<BibEntry> bibEntries, String s
5454
/**
5555
* Generates a bibliography list based on a given list of entries, .csl style source content and output format with a given {@link BibDatabaseContext}.
5656
*
57-
* @implNote The bibliographies are generated using JavaScript which may take some time, better call it from outside the main thread.
57+
* @implNote The bibliographies are generated using an external library which may take some time, debatable if it is better to call it from outside the main Thread.
5858
*/
5959
public static List<String> generateBibliography(List<BibEntry> bibEntries, String style, CitationStyleOutputFormat outputFormat, BibDatabaseContext databaseContext, BibEntryTypesManager entryTypesManager) {
6060
try {

0 commit comments

Comments
 (0)