use record getters in queries

This commit is contained in:
Andrea Cavalli 2021-07-13 23:07:39 +02:00
parent 2489c50022
commit 547fa68fe7

View File

@ -33,7 +33,7 @@ public class QueryMoshi extends MoshiPolymorphic<IType> {
@SuppressWarnings({"unchecked", "RedundantCast", "rawtypes"}) @SuppressWarnings({"unchecked", "RedundantCast", "rawtypes"})
public QueryMoshi() { public QueryMoshi() {
super(true, true); super(true, GetterStyle.RECORDS_GETTERS);
HashSet<Class<IType>> abstractClasses = new HashSet<>(); HashSet<Class<IType>> abstractClasses = new HashSet<>();
HashSet<Class<IType>> concreteClasses = new HashSet<>(); HashSet<Class<IType>> concreteClasses = new HashSet<>();