To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=109943 Issue #|109943 Summary|wizards: FindBugs Warning Component|Installation Version|OOo 2.4.0 Platform|Unknown URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|is Reported by|mtov
------- Additional comments from [email protected] Mon Mar 8 16:26:44 +0000 2010 ------- Dear all, We are conducting an study about the relevance of the warnings reported by the FindBugs tool when executed over several open-source systems. Particularly, in the case of OpenOffice, we would like to confirm the relevance of the following warnings reported by the tool (for OpenOffice 2.4.0): ** Location: com.sun.star.wizards.common.Configuration set - Line 120 Warning: Method assigns boolean literal in boolean expression. This method assigns a literal boolean value (true or false) to a boolean variable inside an if or while expression. Most probably this was supposed to be a boolean comparison using ==, not an assignment using =. ** Location: com.sun.star.wizards.common.NumberFormatter convertStringToNumber - Line 131. Warning: An apparent infinite recursive loop. This method unconditionally invokes itself. This would seem to indicate an infinite recursive loop that will result in a stack overflow. ** Location:com.sun.star.wizards.form.FormDocument getControlForms - Line 263 Warning: Impossible cast. This cast will always throw a ClassCastException. ** Location: com.sun.star.wizards.form.StyleApplier getStyleColor - Line 281 Warning: Method ignores return value. The return value of this method should be checked. One common cause of this warning is to invoke a method on an immutable object, thinking that it updates the object. Since these warnings seemed relevant to us, we would like to confirm our classification with OpenOffice's developers. Best regards, Marco Tulio Valente Brazil --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
