Skip to content

Commit

Permalink
HSEARCH-1401 Fix method order in HibernateOrmBasicTypeMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Dec 6, 2019
1 parent b350cbb commit 3c02c25
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -17,9 +17,6 @@
import org.hibernate.property.access.spi.Getter;

class HibernateOrmBasicTypeMetadata {
private final Class<?> javaClass;
private final Map<String, Property> properties;
private final Property identifierProperty;

public static HibernateOrmBasicTypeMetadata create(PersistentClass persistentClass) {
Map<String, Property> properties = new HashMap<>();
Expand All @@ -44,6 +41,10 @@ private static void collectProperties(Map<String, Property> collected, Iterator<
}
}

private final Class<?> javaClass;
private final Map<String, Property> properties;
private final Property identifierProperty;

private HibernateOrmBasicTypeMetadata(Class<?> javaClass, Map<String, Property> properties,
Property identifierProperty) {
this.javaClass = javaClass;
Expand Down

0 comments on commit 3c02c25

Please sign in to comment.