Closed XiaofeiCao closed 4 months ago
fix https://github.com/Azure/autorest.java/issues/2574
For discriminator setters, we make them protected in case super class and child classes are in different packages.
code: https://github.com/Azure/autorest.java/commit/3849ab0b37df534a5a9fb834e0664644651b90db test: https://github.com/Azure/autorest.java/commit/0365751583d05a540630ee7e2300fa4a2cfc2eca
fix https://github.com/Azure/autorest.java/issues/2574
For discriminator setters, we make them protected in case super class and child classes are in different packages.
code: https://github.com/Azure/autorest.java/commit/3849ab0b37df534a5a9fb834e0664644651b90db test: https://github.com/Azure/autorest.java/commit/0365751583d05a540630ee7e2300fa4a2cfc2eca