Skip to content

Commit 9f1bd75

Browse files
authored
Use @AnnotatedFor({"nullness"}) instead of misspellings
1 parent b0f9fe1 commit 9f1bd75

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/java.base/share/classes/java/lang/ClassCircularityError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @author unascribed
3737
* @since 1.0
3838
*/
39-
@AnnotatedFor({"nullnesss"})
39+
@AnnotatedFor({"nullness"})
4040
public class ClassCircularityError extends LinkageError {
4141
private static final long serialVersionUID = 1054362542914539689L;
4242

src/java.base/share/classes/java/lang/InstantiationError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*/
4343

4444

45-
@AnnotatedFor({"nullable"})
45+
@AnnotatedFor({"nullness"})
4646
public
4747
class InstantiationError extends IncompatibleClassChangeError {
4848
private static final long serialVersionUID = -4885810657349421204L;

src/java.base/share/classes/java/lang/RuntimePermission.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401
* @since 1.2
402402
*/
403403

404-
@AnnotatedFor({"nullnes"})
404+
@AnnotatedFor({"nullness"})
405405
public final class RuntimePermission extends BasicPermission {
406406

407407
private static final long serialVersionUID = 7399184964622342223L;

src/java.base/share/classes/java/lang/ThreadGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* and working off of that snapshot, rather than holding the thread group locked
6464
* while we work on the children.
6565
*/
66-
@AnnotatedFor({"index", "interning", "lock", "nullable"})
66+
@AnnotatedFor({"index", "interning", "lock", "nullness"})
6767
public
6868
@UsesObjectEquals class ThreadGroup implements Thread.UncaughtExceptionHandler {
6969
private final ThreadGroup parent;

src/java.base/share/classes/java/lang/Throwable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
* @jls 11.2 Compile-Time Checking of Exceptions
120120
* @since 1.0
121121
*/
122-
@AnnotatedFor({"interning", "lock", "nullable"})
122+
@AnnotatedFor({"interning", "lock", "nullness"})
123123
public @UsesObjectEquals class Throwable implements Serializable {
124124
/** use serialVersionUID from JDK 1.0.2 for interoperability */
125125
private static final long serialVersionUID = -3042686055658047285L;

0 commit comments

Comments
 (0)