Skip to content

Commit

Permalink
Double registration of DoubleArrayType in HibernateTypesContributor f…
Browse files Browse the repository at this point in the history
…or PostgreSQL82Dialect vladmihalcea#453

Double registration of DoubleArrayType in HibernateTypesContributor for PostgreSQL82Dialect vladmihalcea#453
  • Loading branch information
Aleksandr committed Jul 11, 2022
1 parent 54bd307 commit deac394
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
Expand Up @@ -36,7 +36,6 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, EnumArrayType.INSTANCE)
.contributeType(typeContributions, IntArrayType.INSTANCE)
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, ListArrayType.INSTANCE)
.contributeType(typeContributions, LongArrayType.INSTANCE)
.contributeType(typeContributions, StringArrayType.INSTANCE)
Expand Down
Expand Up @@ -40,7 +40,6 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, EnumArrayType.INSTANCE)
.contributeType(typeContributions, IntArrayType.INSTANCE)
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, ListArrayType.INSTANCE)
.contributeType(typeContributions, LocalDateArrayType.INSTANCE)
.contributeType(typeContributions, LocalDateTimeArrayType.INSTANCE)
Expand Down
Expand Up @@ -40,7 +40,6 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, EnumArrayType.INSTANCE)
.contributeType(typeContributions, IntArrayType.INSTANCE)
.contributeType(typeContributions, DoubleArrayType.INSTANCE)
.contributeType(typeContributions, ListArrayType.INSTANCE)
.contributeType(typeContributions, LocalDateArrayType.INSTANCE)
.contributeType(typeContributions, LocalDateTimeArrayType.INSTANCE)
Expand Down Expand Up @@ -96,12 +95,12 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
/* JSON */
.contributeType(typeContributions, JsonType.INSTANCE);
}

private HibernateTypesContributor contributeType(TypeContributions typeContributions, BasicType type) {
typeContributions.contributeType(type);
return this;
}

private HibernateTypesContributor contributeType(TypeContributions typeContributions, UserType type) {
if(type instanceof ImmutableType) {
ImmutableType immutableType = (ImmutableType) type;
Expand Down
Expand Up @@ -37,7 +37,6 @@ public void contribute(TypeContributions typeContributions, ServiceRegistry serv
typeContributions.contributeType(DoubleArrayType.INSTANCE);
typeContributions.contributeType(EnumArrayType.INSTANCE);
typeContributions.contributeType(IntArrayType.INSTANCE);
typeContributions.contributeType(DoubleArrayType.INSTANCE);
typeContributions.contributeType(ListArrayType.INSTANCE);
typeContributions.contributeType(LocalDateArrayType.INSTANCE);
typeContributions.contributeType(LocalDateTimeArrayType.INSTANCE);
Expand Down

0 comments on commit deac394

Please sign in to comment.