The Artima Developer Community
Sponsored Link

Java Buzz Forum
Bugs I'm Tired of Seeing

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Joe Shelby

Posts: 101
Nickname: acroyear
Registered: Jun, 2003

Joe Shelby is a senior software developer at ISX Corporation.
Bugs I'm Tired of Seeing Posted: Apr 21, 2004 9:24 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Joe Shelby.
Original Post: Bugs I'm Tired of Seeing
Feed Title: Joe's Java Jottings
Feed URL: http://www.blog-city.com/bc/
Feed Description: Notes, observations, and occasional other stuff on Java, with concentrations on Swing, XML, and the Semantic (Object) Web.
Latest Java Buzz Posts
Latest Java Buzz Posts by Joe Shelby
Latest Posts From Joe's Java Jottings

Advertisement
System.out.println(someObject.toString()); Ugh. 1) redundant. 2) buggy. serious codesmell (tm) why is it buggy? if someObject is null, you have NullPointerException. if you didn't have the toString() call, println() would safely print null for you. I'm gonna fidget with PMD's syntax and see if I can make a rule for it.

Read: Bugs I'm Tired of Seeing

Topic: TeXML: Cameron is this you? Previous Topic   Next Topic Topic: [Apr 14, 2004 15:52 PDT] 17 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use