Fixed some warnings

This commit is contained in:
Lukas Eder 2021-03-29 10:53:07 +02:00
parent efaa429fde
commit 5eccac1744
7 changed files with 1 additions and 17 deletions

View File

@ -118,10 +118,6 @@ package org.jooq;

View File

@ -141,6 +141,5 @@ package org.jooq;

View File

@ -38,11 +38,9 @@
package org.jooq;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE_USE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

View File

@ -37,10 +37,8 @@
*/
package org.jooq;
import java.io.Serializable;
import java.util.function.Consumer;
import org.jooq.impl.CallbackRecordListener;
import org.jooq.impl.CallbackTransactionListener;
/**

View File

@ -37,11 +37,8 @@
*/
package org.jooq.impl;
import static org.jooq.impl.Tools.visitAll;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Collection;
import org.jooq.BindContext;
import org.jooq.Configuration;
@ -50,8 +47,6 @@ import org.jooq.QueryPart;
import org.jooq.QueryPartInternal;
import org.jooq.exception.DataAccessException;
import org.jetbrains.annotations.NotNull;
/**
* A base class for {@link BindContext} implementations
*

View File

@ -343,7 +343,7 @@ public class SequenceImpl<T extends Number> extends AbstractTypedNamed<T> implem
@Override
public boolean equals(Object that) {
if (that instanceof SequenceImpl)
return getQualifiedName().equals(((SequenceImpl) that).getQualifiedName());
return getQualifiedName().equals(((SequenceImpl<?>) that).getQualifiedName());
else
return super.equals(that);
}

View File

@ -41,7 +41,6 @@ import static java.util.Collections.emptyMap;
import static org.jooq.tools.jdbc.JDBCUtils.safeClose;
import java.sql.CallableStatement;
import java.sql.ClientInfoStatus;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLClientInfoException;
@ -49,7 +48,6 @@ import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Savepoint;
import java.sql.Statement;
import java.util.Collections;
import java.util.Map;
import java.util.Properties;
import java.util.regex.Pattern;