Closed weidongxu-microsoft closed 6 months ago
another fix on https://github.com/Azure/autorest.java/issues/2574
Remove setKind method in superclass. Shadow kind variable in subclass. Override getKind method in subclass.
setKind
kind
getKind
code change https://github.com/Azure/autorest.java/pull/2639/files/e9c1c0dbad94325dacb299fc8f29a1d6c892fd7b..db632bbb53ab4612517996b0298ea42f44824de1
test like this (for both azure-json and Jackson) https://github.com/Azure/autorest.java/pull/2639/commits/e9c1c0dbad94325dacb299fc8f29a1d6c892fd7b
another fix on https://github.com/Azure/autorest.java/issues/2574
Remove
setKind
method in superclass. Shadowkind
variable in subclass. OverridegetKind
method in subclass.code change https://github.com/Azure/autorest.java/pull/2639/files/e9c1c0dbad94325dacb299fc8f29a1d6c892fd7b..db632bbb53ab4612517996b0298ea42f44824de1
test like this (for both azure-json and Jackson) https://github.com/Azure/autorest.java/pull/2639/commits/e9c1c0dbad94325dacb299fc8f29a1d6c892fd7b