File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
spring-core/src/test/java/org/springframework/core/annotation Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -99,6 +99,7 @@ void javaWhenOtherAnnotationReturnsFalse() {
99
99
}
100
100
101
101
@ Test
102
+ @ SuppressWarnings ("deprecation" )
102
103
void noneReturnsFalse () {
103
104
assertThat (AnnotationFilter .NONE .matches (Retention .class )).isFalse ();
104
105
assertThat (AnnotationFilter .NONE .matches (Nullable .class )).isFalse ();
Original file line number Diff line number Diff line change @@ -1253,6 +1253,7 @@ void getRepeatableDeclaredOnMethod() throws Exception {
1253
1253
}
1254
1254
1255
1255
@ Test
1256
+ @ SuppressWarnings ("deprecation" )
1256
1257
void getRepeatableDeclaredOnClassWithAttributeAliases () {
1257
1258
assertThat (MergedAnnotations .from (HierarchyClass .class ).stream (
1258
1259
TestConfiguration .class )).isEmpty ();
You can’t perform that action at this time.
0 commit comments