SDK:
- fix recognition of boolean properties is/set pattern
This commit is contained in:
parent
1a1d74f83e
commit
a6b24c91ea
@ -64,6 +64,11 @@ public class PropertyUtils {
|
||||
if (name.length() > 0) {
|
||||
name = Character.toLowerCase(name.charAt(0)) + name.substring(1);
|
||||
}
|
||||
} else if (name.startsWith("is")) {
|
||||
name = name.substring(2);
|
||||
if (name.length() > 0) {
|
||||
name = Character.toLowerCase(name.charAt(0)) + name.substring(1);
|
||||
}
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user