[Fb-contrib-commit] SF.net SVN: fb-contrib:[1375] trunk/fb-contrib/samples/PDP_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-10-15 04:16:54
|
Revision: 1375
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1375&view=rev
Author: dbrosius
Date: 2009-10-15 04:16:44 +0000 (Thu, 15 Oct 2009)
Log Message:
-----------
more fps
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-15 04:16:26 UTC (rev 1374)
+++ trunk/fb-contrib/samples/PDP_Sample.java 2009-10-15 04:16:44 UTC (rev 1375)
@@ -45,4 +45,14 @@
float f = ((Float) o).floatValue();
}
}
+
+ public String testFPFlimsyIfGuard(Comparable<?> c, boolean isNumber) {
+ String s = c.toString();
+ if (isNumber) {
+ Number n = (Number)c;
+ s += n.intValue();
+ }
+
+ 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.
|