diff --git a/jOOQ/src/main/java/org/jooq/ForeignKey.java b/jOOQ/src/main/java/org/jooq/ForeignKey.java index 894c17ace5..61fcb3ff2e 100644 --- a/jOOQ/src/main/java/org/jooq/ForeignKey.java +++ b/jOOQ/src/main/java/org/jooq/ForeignKey.java @@ -56,6 +56,7 @@ import org.jetbrains.annotations.Nullable; * @param The referenced KEY's owner table record * @author Lukas Eder */ +@SuppressWarnings("unchecked") public interface ForeignKey extends Key { /** @@ -79,7 +80,7 @@ public interface ForeignKey extends Key { *

* This returns the order in which the fields of {@link #getKey()} are * referenced, which is usually the same as the fields of - * {@link UniqueKey#getKeyFieldsArray()}, but not necessarily so. + * {@link UniqueKey#getFieldsArray()}, but not necessarily so. * * @see #getKeyFields() */