mirror of https://github.com/apache/lucene.git
SOLR-10235: fix precommit
This commit is contained in:
parent
4d7bc94771
commit
d8442070cf
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue