You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails with an error in which the most important part is It did not produce the property name "test"
I guess that a solution would be naming those methods like getIsTest and setIsTest and that's what I'm doing (because I want to keep the name prefixed since it is a DAO to a database table that I can't change), but it reads a little bit weirdly.
So I just wanted to leave this here, so that you might consider adding a special case for boolean fields named with an "is" prefix.
The text was updated successfully, but these errors were encountered:
Hey, I found the following issue with IntelliJ (though it's not really an issue it's more like an inconvenience).
I had a class like this:
Notice that the getters and setters are named as
getTest
andsetTest
. This is how they were automatically generated.When tested like this:
It fails with an error in which the most important part is
It did not produce the property name "test"
I guess that a solution would be naming those methods like
getIsTest
andsetIsTest
and that's what I'm doing (because I want to keep the name prefixed since it is a DAO to a database table that I can't change), but it reads a little bit weirdly.So I just wanted to leave this here, so that you might consider adding a special case for boolean fields named with an "is" prefix.
The text was updated successfully, but these errors were encountered: