forked from Cookies_Github_mirror/AquaDX
[general] Refactoring chunithm UpsertUserAll request and some clean up
This commit is contained in:
@@ -14,11 +14,10 @@ import org.springframework.stereotype.Component;
|
||||
public class LogMapper {
|
||||
|
||||
private final ObjectMapper mapper;
|
||||
private final SimpleModule module;
|
||||
|
||||
public LogMapper() {
|
||||
mapper = new ObjectMapper();
|
||||
module = new SimpleModule();
|
||||
SimpleModule module = new SimpleModule();
|
||||
module.addSerializer(ByteBuf.class, new ByteBufSerializer());
|
||||
mapper.registerModule(module);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user