Commit d5ed9b3
committed
Change RetentionPolicy to RUNTIME in NotNullByDefault annotation
Motivation:
The NotNullByDefault annotation was originally set with a RetentionPolicy of CLASS, which means it is only available during compile-time. However, we want it to be available during runtime as well, so we can use it for null-checking in Kotlin.
Modifications:
Changed the RetentionPolicy of the NotNullByDefault annotation from CLASS to RUNTIME.
Result:
The NotNullByDefault annotation can now be used for null-checking in Kotlin during both compile-time and runtime.1 parent 7aebe83 commit d5ed9b3
File tree
1 file changed
+1
-1
lines changed- src/main/java/io/asyncer/r2dbc/mysql/internal
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments