Skip to content

Commit

Permalink
core: fix transferClientType deserialization
Browse files Browse the repository at this point in the history
The existence of the unusef toString method breaks jackson
deseralization for the transferClientType parameter. Since this
parameter should always be set and toString is not used, this patch
simply removes this method.

Bug-Url: https://bugzilla.redhat.com/2123008
Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
  • Loading branch information
bennyz committed Sep 1, 2022
1 parent 0dabcf4 commit 0f54790
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ public static TransferClientType forValue(int value) {
return valueToType.get(value);
}

@Override
public String toString() {
return description;
}

public boolean isBrowserTransfer() {
return this == TRANSFER_VIA_BROWSER;
}
Expand Down

0 comments on commit 0f54790

Please sign in to comment.