[Fb-contrib-commit] SF.net SVN: fb-contrib:[1458] trunk/fb-contrib/htdocs/index.shtml
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-01-10 16:54:52
|
Revision: 1458
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1458&view=rev
Author: dbrosius
Date: 2010-01-10 16:54:46 +0000 (Sun, 10 Jan 2010)
Log Message:
-----------
add SNG back in
Modified Paths:
--------------
trunk/fb-contrib/htdocs/index.shtml
Modified: trunk/fb-contrib/htdocs/index.shtml
===================================================================
--- trunk/fb-contrib/htdocs/index.shtml 2010-01-10 16:51:57 UTC (rev 1457)
+++ trunk/fb-contrib/htdocs/index.shtml 2010-01-10 16:54:46 UTC (rev 1458)
@@ -84,6 +84,13 @@
Looks for a variety of questionable method calls that will cause problems, are unsafe
or use practices that might lead to bugs.
<span style="color: #0000FF;">--contributed by Chris Peterson - THANKS!</span></li>
+ <li><b>[SNG] Suspicious Null Guard</b><br/>
+ Looks for code that checks to see if a field or local variable is not null,
+ before entering a code block either an if, or while statement, and then doesn't
+ reference that field or local in the block of code that is guarded by the null
+ check. Instead it references another object of the same type. It is likely that null
+ check is being done on the wrong variable, either because of a copy/paste error,
+ or a change in implementation.</li>
</ul>
</div>
<hr/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|