-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Caught a couple small issues and also lets us clean up some stuff in build scripts.
- Loading branch information
Showing
6 changed files
with
61 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -400,6 +400,13 @@ private static class DefaultLibraryModels implements LibraryModels { | |
"com.google.common.base.Preconditions", | ||
"<T>checkNotNull(T,java.lang.String,java.lang.Object...)"), | ||
0) | ||
// For JDK 22 | ||
// TODO check if this is still needed in JDK 23 / subsequent releases | ||
.put( | ||
methodRef( | ||
"com.google.common.base.Preconditions", | ||
"<T>checkNotNull(T,java.lang.String,[email protected] Object...)"), | ||
0) | ||
.put( | ||
methodRef( | ||
"com.google.common.base.Preconditions", | ||
|
@@ -516,6 +523,13 @@ private static class DefaultLibraryModels implements LibraryModels { | |
"com.google.common.base.Verify", | ||
"<T>verifyNotNull(T,java.lang.String,java.lang.Object...)"), | ||
0) | ||
// For JDK 22 | ||
// TODO check if this is still needed in JDK 23 / subsequent releases | ||
.put( | ||
methodRef( | ||
"com.google.common.base.Verify", | ||
"<T>verifyNotNull(T,java.lang.String,[email protected] Object...)"), | ||
0) | ||
.put(methodRef("java.util.Objects", "<T>requireNonNull(T)"), 0) | ||
.put(methodRef("java.util.Objects", "<T>requireNonNull(T,java.lang.String)"), 0) | ||
.put( | ||
|