Summary: | [formatter] ArithmeticException: / by zero at Scribe.printLineComment(Scribe.java:2161) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, srikanth_sankaran | ||||
Version: | 3.5 | Flags: | Olivier_Thomann:
review+
|
||||
Target Milestone: | 3.5.1 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dani Megert
2009-06-25 12:02:48 EDT
Please investigate a fix for 3.5.1. Isn't it an invalid value that the UI should prevent users to enter? If not, what is the reason to accept such a value...? >Isn't it an invalid value that the UI should prevent users to enter? The UI allows the values that JDT Core specifies, please read corresponding Javadoc in JDT Core. >If not, what is the reason to accept such a value...? See above. Created attachment 140208 [details]
Proposed patch
No indentations when size is 0...
Olivier, could you please review? Thanks Patch looks good and it is safe. Please release for 3.5.1. Released for 3.6M1 in HEAD stream. Released for 3.5.1 in R3_5_maintenance stream. Verified for 3.6M1 using build I20090803-1300 Verified in M20090826-1100. |