Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=58232 Merged revision 1695778 from tomcat/trunk: Add PojoMethodMapping to the user properties only if there are annotated methods