Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public class NotificationWebSocketHandler implements WebSocketHandler {
static final String USER_TAG = "user";

private final ObjectMapper jacksonObjectMapper;
public static final String HEADER_PARAMS_NAME = "paramsName";
Copy link
Contributor

Choose a reason for hiding this comment

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

why public ?
move it just near the other HEADER_*** constants definition maybe ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.


private final int heartbeatInterval;

Expand Down Expand Up @@ -147,6 +148,7 @@ private static Map<String, Object> toResultHeader(Map<String, Object> messageHea
passHeader(messageHeader, resHeader, HEADER_USER_ID); // to filter the display of error messages in the front end
passHeader(messageHeader, resHeader, HEADER_REFERENCE_NODE_UUID);
passHeader(messageHeader, resHeader, HEADER_INDEXATION_STATUS);
passHeader(messageHeader, resHeader, HEADER_PARAMS_NAME);

return resHeader;
}
Expand Down
Loading