Suppress deprecation warnings in tests in build
This commit is contained in:
parent
94af2ca06b
commit
071c2988d5
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue