Hi guys,

when a property name has an uppercase in second place then the property
name and PropertyDescriptor#getName don't match.

Ex:

public class Foo {
   public String lName;
   public String getLName() { return lName; }
}

This is a valid pojo AFAIK but since we use PropertyDescriptor we'll find
the public lName and the getter as properties (lName and LName). This
sounds weird and i was almost fixing it but ignoring java.bean spec sounds
even weirder.

Wdyt?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

Reply via email to