Community
Participate
Working Groups
Build Identifier: 20120216-1857 My Java formatter is set to a width of 120 characters, and I have a checkstyle configuration which also has the same setting. On one line of code, when formatted, Eclipse says that its fine and won't put code on a new line and indent (it'll revert it to a single line if you attempt to). However, the line length is 122, and Checkstyle is therefore saying its invalid. Reproducible: Always Steps to Reproduce: 1. Set Eclipse code formatter for Java to have a max line length of 120 2. Write a line of java that's 122 characters long. (i.e.: void testIfThisWorks(final String variable1, final String variable2, final String variable3, final String variable4);) 3. Ctrl+F (or format), it'll remain on 122 lines.
Probably a dup of bug 110569 or bug 303519.
(In reply to comment #1) > Probably a dup of bug 110569 or bug 303519. Yup, this should be handled along with bug 303519 *** This bug has been marked as a duplicate of bug 303519 ***