Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsinco committed Nov 16, 2024
1 parent 8f11f03 commit 778124e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/jsinco/discord/framework/serdes/Serdes.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private Serdes() {
for (Map.Entry<Class<?>, Object> entry : typeAdapters.entrySet()) {
builder.registerTypeAdapter(entry.getKey(), entry.getValue());
}
gson = builder.setPrettyPrinting().create();
this.gson = builder.setPrettyPrinting().create();
}

public <T> String serialize(T object) {
Expand Down Expand Up @@ -63,7 +63,7 @@ public static Serdes getInstance() {
return instance;
}

private static Map<Class<?>, Object> getTypeAdapters() {
private Map<Class<?>, Object> getTypeAdapters() {
Map<Class<?>, Object> typeAdapters = new HashMap<>();
Set<Class<?>> classes = ReflectionUtil.getAllClassesFor();

Expand Down

0 comments on commit 778124e

Please sign in to comment.