Tom Copeland's Recent Posts

RSS Feeds

« A new JavaCC grammar for EcmaScript | Main | Jython/Pydev JavaCC grammar notes »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e200e55070aada8834

Listed below are links to weblogs that reference NullPointerException waiting to happen:

Comments

Wonderful! I've seen FindBugs catch such clever expressions. It's great to see this in PMD.

That's just poorly written! Anyone with just a little understanding of boolean algebra and programming would see it immediately!

Pål - Of course! But how many times do folks do a line by line review of their x00KLOC project to find things like this? That's a job for a utility to do...

Yes, it sure is hard to detect when reading code, but it shouldn't appear in the first place. Nice catch, though!

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.