Ok, actually the JStyleFormatter is not used, here is the part from the xconf:
<!-- Specifies which formatter to use to format source code. This parameter is optional. It is commented out because of bug #5689: Java "code-formatter" incorrectly formats double values --> <!--parameter name="code-formatter" value="org.apache.cocoon.components.language.programming.java.JstyleFormatte r"/-->
Is anyone against removing this completly (at least from 2.2) and
deprecating it in 2.1.x?
Reminder: formatter was used to pretty-print generated XSP sources. I think it can be removed.
Vadim