Suppress deprecation warnings in tests in build

This commit is contained in:
Sam Brannen 2022-02-18 16:18:13 +01:00
parent 94af2ca06b
commit 071c2988d5
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -419,6 +419,7 @@ public class OpenEntityManagerInViewTests {
private final CountDownLatch latch = new CountDownLatch(1);
@Override
@SuppressWarnings("deprecation")
public void execute(Runnable task, long startTimeout) {
Runnable decoratedTask = () -> {
try {