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 11/*
2- * Copyright 2002-2019 the original author or authors.
2+ * Copyright 2002-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -99,6 +99,7 @@ void javaWhenOtherAnnotationReturnsFalse() {
9999 }
100100
101101 @ Test
102+ @ SuppressWarnings ("deprecation" )
102103 void noneReturnsFalse () {
103104 assertThat (AnnotationFilter .NONE .matches (Retention .class )).isFalse ();
104105 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 {
12531253 }
12541254
12551255 @ Test
1256+ @ SuppressWarnings ("deprecation" )
12561257 void getRepeatableDeclaredOnClassWithAttributeAliases () {
12571258 assertThat (MergedAnnotations .from (HierarchyClass .class ).stream (
12581259 TestConfiguration .class )).isEmpty ();
You can’t perform that action at this time.
0 commit comments