Skip to content

Commit

Permalink
Rename Message.getJsonHandler() to jsonHandler()
Browse files Browse the repository at this point in the history
  • Loading branch information
pisv committed Nov 16, 2023
1 parent 5d29575 commit 594caa4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ public abstract class Message {

private transient MessageJsonHandler jsonHandler;

public MessageJsonHandler getJsonHandler() {
// Note: 'getJsonHandler' is not used as the name of the accessor method
// to avoid treating 'jsonHandler' as a general property of the message
// by reflective code such as ReflectiveMessageValidator.

public MessageJsonHandler jsonHandler() {
return jsonHandler;
}

Expand Down

0 comments on commit 594caa4

Please sign in to comment.