Community
Participate
Working Groups
When I have a file with the following method, the code formatter will not format it. There are no errors in the log: private static String buildStartTag(String namespace, String serviceName) { return " <ns1:" + serviceName + (" soapenv:encodingStyle=\"http://schemas.xmlsoap.org/" + "soap/encoding/\" xmlns:ns1=\"") + namespace + "\">\n"; } When I remove the parentheses, the code formatter works fine, and it reformats the complete file. private static String buildStartTag(String namespace, String serviceName) { return " <ns1:" + serviceName + " soapenv:encodingStyle=\"http://schemas.xmlsoap.org/" + "soap/encoding/\" xmlns:ns1=\"" + namespace + "\">\n"; }
Fixed and released in HEAD. Regression test added in FormatterRegressionTests.test546.
Verified in 20050330-0500