-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to JDK21 - both JDK and language level (#10528)
* Update to JDK21 - both JDK and language level * Fix dependency for "Task :generateJournalListMV" * Update modernizer * Replace mssing env.JDK21 * Replace Stack by Deque * One more replacement * Introduce unique variables * compare with stack * reverse order * fix bug from olly * improve javadoc * remove leftover * Fix comment * Add line break * Rename variable --------- Co-authored-by: Siedlerchr <[email protected]>
- Loading branch information
1 parent
3670ef6
commit cbf99ec
Showing
22 changed files
with
89 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-3.63 KB
(81%)
...lines-for-setting-up-a-local-workspace/guidelines-intellij-installs-temurin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66.7 KB
...s-for-setting-up-a-local-workspace/guidelines-intellij-open-module-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.2 KB
...s-for-setting-up-a-local-workspace/guidelines-intellij-project-settings-jdk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-24.7 KB
...for-setting-up-a-local-workspace/guidelines-intellij-project-settings-jdk18.png
Binary file not shown.
Binary file added
BIN
+7.36 KB
...setting-up-a-local-workspace/guidelines-intellij-select-jdk-eclipse-temurin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.1 KB
...local-workspace/guidelines-intellij-settings-gradle-gradlejvm-is-projectjvm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-10.4 KB
...s-for-setting-up-a-local-workspace/guidelines-select-jdk-18-eclipse-temurin.png
Binary file not shown.
Binary file removed
BIN
-57.9 KB
...ing-up-a-local-workspace/guidelines-settings-gradle-gradlejvm-is-projectjvm.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
package org.jabref.logic.bst; | ||
|
||
import java.nio.file.Path; | ||
import java.util.Deque; | ||
import java.util.HashMap; | ||
import java.util.LinkedList; | ||
import java.util.List; | ||
import java.util.Map; | ||
import java.util.Optional; | ||
import java.util.Stack; | ||
|
||
import org.jabref.model.database.BibDatabase; | ||
|
||
public record BstVMContext(List<BstEntry> entries, | ||
Map<String, String> strings, | ||
Map<String, Integer> integers, | ||
Map<String, BstFunctions.BstFunction> functions, | ||
Stack<Object> stack, | ||
Deque<Object> stack, | ||
BibDatabase bibDatabase, | ||
Optional<Path> path) { | ||
public BstVMContext(List<BstEntry> entries, BibDatabase bibDatabase, Path path) { | ||
this(entries, new HashMap<>(), new HashMap<>(), new HashMap<>(), new Stack<>(), bibDatabase, Optional.ofNullable(path)); | ||
// LinkedList instead of ArrayDeque, because we (currently) need null support | ||
this(entries, new HashMap<>(), new HashMap<>(), new HashMap<>(), new LinkedList<>(), bibDatabase, Optional.ofNullable(path)); | ||
} | ||
} |
Oops, something went wrong.