[Fb-contrib-commit] SF.net SVN: fb-contrib:[1380] trunk/fb-contrib/samples/PDP_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-10-18 15:33:17
|
Revision: 1380
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1380&view=rev
Author: dbrosius
Date: 2009-10-18 15:33:09 +0000 (Sun, 18 Oct 2009)
Log Message:
-----------
more tests
Modified Paths:
--------------
trunk/fb-contrib/samples/PDP_Sample.java
Modified: trunk/fb-contrib/samples/PDP_Sample.java
===================================================================
--- trunk/fb-contrib/samples/PDP_Sample.java 2009-10-18 13:57:32 UTC (rev 1379)
+++ trunk/fb-contrib/samples/PDP_Sample.java 2009-10-18 15:33:09 UTC (rev 1380)
@@ -56,4 +56,22 @@
return s;
}
+
+ public String testFPFlimsySwitchGuard(Comparable<?> c, int type) {
+ String s = c.toString();
+
+ switch (type)
+ {
+ case 0:
+ Number n = (Number)c;
+ s += n.intValue();
+ break;
+
+ case 1:
+ s += s;
+ break;
+ }
+
+ return s;
+ }
}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|