Skip to content

Commit 9166688

Browse files
committed
Remove the pure attribute from @Contract
Closes gh-33820
1 parent da89251 commit 9166688

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

spring-core/src/main/java/org/springframework/lang/Contract.java

-6
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,4 @@
7272
* Contains the contract clauses describing causal relations between call arguments and the returned value.
7373
*/
7474
String value() default "";
75-
76-
/**
77-
* Specifies if this method is pure, i.e. has no visible side effects. This may be used for more precise data flow analysis, and
78-
* to check that the method's return value is actually used in the call place.
79-
*/
80-
boolean pure() default false;
8175
}

0 commit comments

Comments
 (0)