[jOOQ/jOOQ#9807] Java 6 compatibility fix

This commit is contained in:
Knut Wannheden 2020-02-10 09:11:20 +01:00
parent 9ecb8a8caa
commit 7daa6b365f
2 changed files with 5 additions and 5 deletions

View File

@ -2286,7 +2286,7 @@ public abstract class AbstractDatabase implements Database {
* Retrieve ALL relations from the database.
*/
protected final Relations getRelations0() {
DefaultRelations result = new DefaultRelations();
final DefaultRelations result = new DefaultRelations();
if (getIncludePrimaryKeys()) {
onError(ERROR, "Error while fetching primary keys", new ExceptionRunnable() {

View File

@ -182,22 +182,22 @@ implements TableDefinition {
}
@Override
public /* non-final */ boolean isTemporary() {
public final boolean isTemporary() {
return tableType == TableType.TEMPORARY;
}
@Override
public /* non-final */ boolean isView() {
public final boolean isView() {
return tableType == TableType.VIEW;
}
@Override
public /* non-final */ boolean isMaterializedView() {
public final boolean isMaterializedView() {
return tableType == TableType.MATERIALIZED_VIEW;
}
@Override
public /* non-final */ boolean isTableValuedFunction() {
public final boolean isTableValuedFunction() {
return tableType == TableType.FUNCTION;
}