Fix tag key generator output inconsistencies (#11218)

* Fix tag key generator output inconsistencies

* use NonNull instead of NotNull for generated api

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
This commit is contained in:
Lulu13022002
2024-08-11 00:11:57 +02:00
parent 1569c093c5
commit 5e68331cc3
22 changed files with 1165 additions and 1185 deletions

View File

@@ -370,7 +370,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ public static <T> T asArgument(final @Nullable T value, final String field) {
+ if (value == null) {
+ throw new IllegalArgumentException("argument " + value + " cannot be null");
+ throw new IllegalArgumentException("argument " + field + " cannot be null");
+ }
+ return value;
+ }