From 6f8a9eda58a438b0517f6b56b1803abb61fedc01 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Thu, 16 Nov 2023 08:38:20 +0100 Subject: [PATCH] Revert "Fix #226: Make Device from UserAgent class Serializable" This reverts commit ce77359f473b67ecf3115e5be83410df07e88b5a. --- .../com/wultra/core/http/common/headers/UserAgent.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/http-common/src/main/java/com/wultra/core/http/common/headers/UserAgent.java b/http-common/src/main/java/com/wultra/core/http/common/headers/UserAgent.java index 318946d..eb97420 100644 --- a/http-common/src/main/java/com/wultra/core/http/common/headers/UserAgent.java +++ b/http-common/src/main/java/com/wultra/core/http/common/headers/UserAgent.java @@ -18,8 +18,6 @@ import lombok.Data; import lombok.extern.slf4j.Slf4j; -import java.io.Serial; -import java.io.Serializable; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -32,10 +30,7 @@ public final class UserAgent { @Data - public static class Device implements Serializable { - - @Serial - private static final long serialVersionUID = -1710283885057764817L; + public static class Device { private String networkVersion; private String language; private String connection;