Suppress warnings in Gradle build

This commit is contained in:
Sam Brannen 2020-06-18 10:55:44 +02:00
parent 533608b0a1
commit 30263137c4
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2020 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.
@ -35,10 +35,11 @@ import static org.mockito.Mockito.verify;
/**
* @author Rod Johnson
*/
public class JdbcBeanDefinitionReaderTests {
class JdbcBeanDefinitionReaderTests {
@Test
public void testValid() throws Exception {
@SuppressWarnings("deprecation")
void readBeanDefinitionFromMockedDataSource() throws Exception {
String sql = "SELECT NAME AS NAME, PROPERTY AS PROPERTY, VALUE AS VALUE FROM T";
Connection connection = mock(Connection.class);