Remove unnecessary semicolon in BeanInfo example
Closes gh-26806
This commit is contained in:
parent
63217e44f1
commit
bf05da1f8c
|
|
@ -567,9 +567,10 @@ associates a `CustomNumberEditor` with the `age` property of the `Something` cla
|
||||||
try {
|
try {
|
||||||
final PropertyEditor numberPE = new CustomNumberEditor(Integer.class, true);
|
final PropertyEditor numberPE = new CustomNumberEditor(Integer.class, true);
|
||||||
PropertyDescriptor ageDescriptor = new PropertyDescriptor("age", Something.class) {
|
PropertyDescriptor ageDescriptor = new PropertyDescriptor("age", Something.class) {
|
||||||
|
@Override
|
||||||
public PropertyEditor createPropertyEditor(Object bean) {
|
public PropertyEditor createPropertyEditor(Object bean) {
|
||||||
return numberPE;
|
return numberPE;
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
return new PropertyDescriptor[] { ageDescriptor };
|
return new PropertyDescriptor[] { ageDescriptor };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue