Skip to main content

Geertjan Wielenga: NetBeans IDE 7.3 Knows Null

NetBeans IDE 7.3 Knows Null: What's the difference between these two methods, "test1" and "test2"?... The difference, or at least, the difference that is relevant for this blog entry, is that whoever wrote "test2" apparently thinks that the variable "str" may be null, though did not provide a null check. In NetBeans IDE 7.3, you see this hint for "test2", but...

Community: NetBeans