Monday, October 3, 2011

NetBeans: increasing your code awareness

Take a look at this snippet:

Now I'm sure that we're all familiar with the grey underline that tells us that a variable is not being used.
But look at the value "Robert" - NetBeans now tells you when you're not using a value that is assigned to an otherwise used variable.

Just a tidbit of what you can look forward to in the upcoming release of NetBeans :)

EDIT Try out all the new functionality in NetBeans 7.1 Beta


  1. Nice!,

    It's what Findbugs refers to as a dead store to a local variable.

  2. Thanks for posting this! I'm trying to find information on Incontinent and this has definitely helped me in this process.