Fixed some warnings
This commit is contained in:
parent
495ccf658a
commit
eb9264e00d
@ -1766,7 +1766,6 @@ public interface Result<R extends Record> extends FieldProvider, List<R>, Attach
|
||||
/**
|
||||
* Get this result formatted as XML
|
||||
*
|
||||
* @see #exportXML()
|
||||
* @see <a
|
||||
* href="http://www.jooq.org/xsd/jooq-export-1.6.2.xsd">http://www.jooq.org/xsd/jooq-export-1.6.2.xsd</a>
|
||||
*/
|
||||
|
||||
@ -115,6 +115,7 @@ class ResultImpl<R extends Record> implements Result<R>, AttachableInternal {
|
||||
return internalType.cast(this);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public final void attach(Configuration c) {
|
||||
this.configuration = c;
|
||||
|
||||
@ -77,7 +77,6 @@ import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.RenderContext;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.SchemaMapping;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.UDT;
|
||||
import org.jooq.UDTRecord;
|
||||
@ -941,7 +940,7 @@ final class Util {
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
static final Schema getMappedSchema(Configuration configuration, Schema schema) {
|
||||
SchemaMapping mapping = configuration.getSchemaMapping();
|
||||
org.jooq.SchemaMapping mapping = configuration.getSchemaMapping();
|
||||
|
||||
if (mapping != null) {
|
||||
return mapping.map(schema);
|
||||
@ -956,7 +955,7 @@ final class Util {
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
static final Table<?> getMappedTable(Configuration configuration, Table<?> table) {
|
||||
SchemaMapping mapping = configuration.getSchemaMapping();
|
||||
org.jooq.SchemaMapping mapping = configuration.getSchemaMapping();
|
||||
|
||||
if (mapping != null) {
|
||||
return mapping.map(table);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user