Skip to content

Commit

Permalink
refactor: encapsulation violation in ReferenceDeserializer
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkp10 committed Dec 22, 2024
1 parent a0a3b7c commit 69a9d94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public Object deserialize(JsonElement json, Type typeOfT, JsonDeserializationCon
return reference;
}

public Collection<?> instantiateCollection(Type type) {
private Collection<?> instantiateCollection(Type type) {
Class<?> rawType = (Class<?>) ((ParameterizedType) type).getRawType();
if (rawType.isInterface()) {
if (List.class.isAssignableFrom(rawType)) {
Expand Down

0 comments on commit 69a9d94

Please sign in to comment.