[Fb-contrib-commit] SF.net SVN: fb-contrib:[1421] trunk/fb-contrib/samples/UNNC_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-31 23:13:20
|
Revision: 1421
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1421&view=rev
Author: dbrosius
Date: 2009-12-31 23:13:12 +0000 (Thu, 31 Dec 2009)
Log Message:
-----------
suppress warnings
Modified Paths:
--------------
trunk/fb-contrib/samples/UNNC_Sample.java
Modified: trunk/fb-contrib/samples/UNNC_Sample.java
===================================================================
--- trunk/fb-contrib/samples/UNNC_Sample.java 2009-12-31 22:58:30 UTC (rev 1420)
+++ trunk/fb-contrib/samples/UNNC_Sample.java 2009-12-31 23:13:12 UTC (rev 1421)
@@ -5,6 +5,8 @@
public class UNNC_Sample {
+
+ @SuppressWarnings("null")
public void testPosNEW()
{
UNNC_Sample sample = new UNNC_Sample();
@@ -14,6 +16,7 @@
}
}
+ @SuppressWarnings("null")
public void testNegNEW()
{
UNNC_Sample sample = new UNNC_Sample();
@@ -25,6 +28,7 @@
System.out.println("OK");
}
+ @SuppressWarnings("null")
public void testPosANEWARAY()
{
String[] s = new String[10];
@@ -33,6 +37,7 @@
}
}
+ @SuppressWarnings("null")
public void testNegANEWARRAY()
{
String[] s = new String[10];
@@ -43,6 +48,7 @@
System.out.println("OK");
}
+ @SuppressWarnings("null")
public void testPosMULTIANEWARRAY()
{
String[][] s = new String[10][5];
@@ -51,6 +57,7 @@
}
}
+ @SuppressWarnings("null")
public void testNegMULTIANEWARRAY()
{
String[][] s = new String[10][5];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|