SOLR-10235: fix precommit

This commit is contained in:
Uwe Schindler 2017-03-07 22:07:13 +01:00
parent 4d7bc94771
commit d8442070cf
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ import java.util.Properties;
import javax.sql.DataSource; import javax.sql.DataSource;
import org.apache.solr.common.util.SuppressForbidden;
import org.apache.solr.handler.dataimport.JdbcDataSource.ResultSetIterator; import org.apache.solr.handler.dataimport.JdbcDataSource.ResultSetIterator;
import static org.mockito.Mockito.*; import static org.mockito.Mockito.*;
import org.junit.After; import org.junit.After;
@ -635,6 +636,7 @@ public class TestJdbcDataSource extends AbstractDataImportHandlerTestCase {
return 0; return 0;
} }
@SuppressForbidden(reason="Required by JDBC")
@Override @Override
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException {
throw new java.sql.SQLFeatureNotSupportedException(); throw new java.sql.SQLFeatureNotSupportedException();