We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@Contract
1 parent dee80ab commit 05c3f56Copy full SHA for 05c3f56
spring-core/src/main/java/org/springframework/lang/Contract.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2002-2024 the original author or authors.
+ * Copyright 2002-2025 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -18,8 +18,6 @@
18
19
import java.lang.annotation.Documented;
20
import java.lang.annotation.ElementType;
21
-import java.lang.annotation.Retention;
22
-import java.lang.annotation.RetentionPolicy;
23
import java.lang.annotation.Target;
24
25
/**
@@ -77,7 +75,6 @@
77
75
* NullAway custom contract annotations</a>
78
76
*/
79
@Documented
80
-@Retention(RetentionPolicy.CLASS)
81
@Target(ElementType.METHOD)
82
public @interface Contract {
83
0 commit comments