- fix recognition of boolean properties is/set pattern
experimental
Normen Hansen 11 years ago
parent 1a1d74f83e
commit a6b24c91ea
  1. 5
      sdk/jme3-core/src/com/jme3/gde/core/util/PropertyUtils.java

@ -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…
Cancel
Save