coheigea opened a new pull request, #400: URL: https://github.com/apache/cxf-xjc-utils/pull/400
Xbgi generated the body of each getXxx() method by concatenating "return " + name + "();" into a directStatement, which is copied into the generated source verbatim. Build it with codemodel instead, as an invocation of the existing isXxx() JMethod. This is a cleanup: the name always comes from an XJC-generated getter, and the generated code is unchanged. Also check in the test that getXxx() returns the value of isXxx(). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
