Community
Participate
Working Groups
I'm not sure if this one is related (or duplicate) to the existing correct indentation bugs. If I have a multi-line return statement, then the correct indentation function (clean up or save action) does not work correctly. When using the eclipse formatter I get the following correct formatting (|| has an indentation with respect to return): public class New { boolean foo() { return "long string ".length() == 0 || "very long string ".length() == 0; } } If I save that file with option 'correct indentation' I get the following result (|| is now aligned with return), which is not correct: public class New { boolean foo() { return "long string ".length() == 0 || "very long string ".length() == 0; } }
*** This bug has been marked as a duplicate of bug 65317 ***