From 11817dcbda5e277a04b1c87b3ae4e8f758603575 Mon Sep 17 00:00:00 2001 From: Aurelien Poscia Date: Fri, 29 Sep 2023 09:57:41 +0200 Subject: [PATCH] SONAR-20578 Fix deserialization when code is obfuscated --- .cirrus.yml | 3 ++- .../java/org/sonar/server/v2/common/model/UpdateField.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 4739f7fa341..a0a43dc864f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -67,7 +67,8 @@ github_task_template: &GITHUB_TASK_TEMPLATE changesInclude('private/core-extension-developer-server/src/main/java/com/sonarsource/branch/pr/github/**/*.java', 'private/core-extension-developer-server/src/main/java/com/sonarsource/github/**/*.java', 'private/it-branch/it-tests/src/test/java/com/sonarsource/branch/it/suite/pr/github/**/*.java', - 'private/it-branch/it-tests/src/test/java/com/sonarsource/provisioning/github/*.java' + 'private/it-branch/it-tests/src/test/java/com/sonarsource/provisioning/github/*.java', + 'private/core-extension-github-provisioning/**/*' ) gitlab_task_template: &GITLAB_TASK_TEMPLATE diff --git a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/common/model/UpdateField.java b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/common/model/UpdateField.java index 916b3a22b70..d32d1457b17 100644 --- a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/common/model/UpdateField.java +++ b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/common/model/UpdateField.java @@ -27,6 +27,7 @@ import javax.validation.valueextraction.UnwrapByDefault; @UnwrapByDefault public class UpdateField { + private final T value; private final boolean isDefined; -- 2.39.5