|
|
Choosing A Webhost: |
Re: a += b is the same as a = a + b... Right? Wrong!: msg#00008java.findbugs.general
On Tue, Dec 14, 2004 at 10:32:52PM +0100, Johan Karlsson wrote: > Hi! > > I just read about this problem: > > http://www.javalobby.org/forums/thread.jspa?threadID=16002 > > Is this check included with findbugs? If not, it would be nice. We don't have any such detector in FindBugs, as far as I know. The main problem I see in writing a detector for this problem is that FindBugs doesn't know whether or not conversions which lose precision were written explicitly by the programmer, or generated by javac. This might be another case where using a source-based tool such as PMD would be the easiest way to detect the problem. -Dave
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | a += b is the same as a = a + b... Right? Wrong!, Johan Karlsson |
|---|---|
| Next by Date: | Re: a += b is the same as a = a + b... Right? Wrong!, Dave Brosius |
| Previous by Thread: | a += b is the same as a = a + b... Right? Wrong!, Johan Karlsson |
| Next by Thread: | Re: a += b is the same as a = a + b... Right? Wrong!, Dave Brosius |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |