Community
Participate
Working Groups
The two different flavors of java comments should be treated differently by the code formatter. The way the /* */ or /** */ comments are treated is great! The problem is with the // comments. The // comments should be treated as code so they are wrapped at the same length at which code is wrapped rather than at the length the /* comments are wrapppd. The reason is often there many be a lengthly comment on a line that gets formatted really funny; e.g. if(someCondition) { //This check is needed because of bug 23424 where the blah blah blah blah blah may be wrapped something like this: if(someCondition) { // This // check // is // needed // because // of // bug // 23424 // where // the // blah // blah // blah // blah // blah
*** This bug has been marked as a duplicate of 47620 ***
Rely on 47620 for verification.