From b0939a8af043a9cc10ebf0b411679376ea73e1ce Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 21 Jul 2019 13:12:02 +0200 Subject: [PATCH] Suppress deprecation warnings in Gradle build --- .../src/test/java/org/springframework/protobuf/OuterSample.java | 1 + .../org/springframework/web/reactive/protobuf/OuterSample.java | 1 + 2 files changed, 2 insertions(+) diff --git a/spring-web/src/test/java/org/springframework/protobuf/OuterSample.java b/spring-web/src/test/java/org/springframework/protobuf/OuterSample.java index b0c36ed5c7..afafe62772 100644 --- a/spring-web/src/test/java/org/springframework/protobuf/OuterSample.java +++ b/spring-web/src/test/java/org/springframework/protobuf/OuterSample.java @@ -3,6 +3,7 @@ package org.springframework.protobuf; +@SuppressWarnings("deprecation") public class OuterSample { private OuterSample() {} public static void registerAllExtensions( diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/protobuf/OuterSample.java b/spring-webflux/src/test/java/org/springframework/web/reactive/protobuf/OuterSample.java index c6e59e4ecf..01239dfdf8 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/protobuf/OuterSample.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/protobuf/OuterSample.java @@ -3,6 +3,7 @@ package org.springframework.web.reactive.protobuf; +@SuppressWarnings("deprecation") public class OuterSample { private OuterSample() {} public static void registerAllExtensions( -- GitLab