Closed codelibra closed 5 years ago
Hard to say without seeing the generated code. Switching on strings is fine though, your static analysis tool is the issue and best to file there.
Error is shown from below switch(_name) in the generated java class
while (jsonReader.hasNext()) {
String _name = jsonReader.nextName();
if (jsonReader.peek() == JsonToken.NULL) {
jsonReader.nextNull();
continue;
}
switch (_name) {
default: {
What is the generated auto value class code for that? Seems strange that the getSomething property is not getting picked up
When building by java project i am getting findbugs error
Specifically error comes from the
switch(_name)
line. Could anyone help here?