Skip to content

Commit

Permalink
Moving JsonProperty declaration to getters to avoid duplicate fetch i…
Browse files Browse the repository at this point in the history
…n serialization/deserialization scenarios
  • Loading branch information
payneBrandon committed Dec 27, 2023
1 parent 760c581 commit 2cf47f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
public class NodeSetXY extends Asn1Object {
private static final long serialVersionUID = 1L;

@JsonProperty("NodeXY")
private NodeXY[] NodeXY;


@JsonProperty("NodeXY")
public NodeXY[] getNodeXY() {
return NodeXY;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
public class Nodes extends Asn1Object {

private static final long serialVersionUID = 1L;
@JsonProperty("NodeLL")
private NodeLL[] nodeLL;

@JsonProperty("NodeXY")
private NodeXY[] nodeXY;


@JsonProperty("NodeLL")
public NodeLL[] getNodeLL() {
return nodeLL;
}
Expand Down

0 comments on commit 2cf47f6

Please sign in to comment.