Skip to content

Commit

Permalink
feat: update generic field metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Jul 30, 2023
1 parent 7f757cf commit 29d858e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void appendFields(Map<String, NativeMapping> nativeFieldGroupByJavaField
FieldMetadata field,
String javaField, String nativeField) {

Class<?> type = field.nativeField().getType();
Class<?> type = field.type();
appendFields(nativeFieldGroupByJavaField, field, javaField, nativeField, type);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private boolean hasFieldAnnotation(Class<?> annotation) {
}

public Class<?> getElementType() {
return (Class) ((ParameterizedType) nativeField()
return (Class<?>) ((ParameterizedType) nativeField()
.getGenericType())
.getActualTypeArguments()[0];
}
Expand Down

0 comments on commit 29d858e

Please sign in to comment.