Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W-17607446: Handle missing fields in DefaultMessageBuilder and ensure that one field is not serialized in DefaultEventBuilder #14175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

d4nielyan9
Copy link
Contributor

No description provided.

@d4nielyan9 d4nielyan9 requested a review from a team as a code owner January 24, 2025 09:58
Comment on lines +55 to +58
private final Map<String, TypedValue<Serializable>> inboundProperties = new CaseInsensitiveMapWrapper<>();
private final Map<String, TypedValue<Serializable>> outboundProperties = new CaseInsensitiveMapWrapper<>();
private Map<String, DataHandler> inboundAttachments = new LinkedHashMap<>();
private Map<String, DataHandler> outboundAttachments = new LinkedHashMap<>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should not be added back. If they are missing, that should be handled by the serializer

@@ -418,7 +418,7 @@ public static class InternalEventImplementation implements InternalEvent {
private final boolean notificationsEnabled;

private final CaseInsensitiveHashMap<String, TypedValue<?>> variables;
private final CaseInsensitiveHashMap<String, TypedValue<?>> parameters;
private transient final CaseInsensitiveHashMap<String, TypedValue<?>> parameters;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be handled in the serializer as well

@d4nielyan9
Copy link
Contributor Author

--validate

Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition B Maintainability Rating on New Code (is worse than A)

See analysis details on SonarQube

Fix issues before they fail your Quality Gate with SonarLint SonarLint in your IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants