Remove unnecessary semicolon in BeanInfo example

Closes gh-26806
This commit is contained in:
Sviatoslav Hryb
2021-04-14 19:07:39 +03:00
committed by Sam Brannen
parent 63217e44f1
commit bf05da1f8c

View File

@@ -567,9 +567,10 @@ associates a `CustomNumberEditor` with the `age` property of the `Something` cla
try {
final PropertyEditor numberPE = new CustomNumberEditor(Integer.class, true);
PropertyDescriptor ageDescriptor = new PropertyDescriptor("age", Something.class) {
@Override
public PropertyEditor createPropertyEditor(Object bean) {
return numberPE;
};
}
};
return new PropertyDescriptor[] { ageDescriptor };
}