[Fb-contrib-commit] SF.net SVN: fb-contrib:[1462] trunk/fb-contrib/samples/PDP_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-01-10 17:16:40
|
Revision: 1462
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1462&view=rev
Author: dbrosius
Date: 2010-01-10 17:16:34 +0000 (Sun, 10 Jan 2010)
Log Message:
-----------
get fps to show up
Modified Paths:
--------------
trunk/fb-contrib/samples/PDP_Sample.java
Modified: trunk/fb-contrib/samples/PDP_Sample.java
===================================================================
--- trunk/fb-contrib/samples/PDP_Sample.java 2010-01-10 17:04:32 UTC (rev 1461)
+++ trunk/fb-contrib/samples/PDP_Sample.java 2010-01-10 17:16:34 UTC (rev 1462)
@@ -33,12 +33,12 @@
ArrayList<String> aal = (ArrayList<String>) l;
}
- public void testFPDerivableMethod(List<String> l)
+ protected void testFPDerivableMethod(List<String> l)
{
al = (ArrayList<String>) l;
}
- public void testMultiCasts(String key, Object o) {
+ public static void testMultiCasts(String key, Object o) {
if (key.equals("Foo")) {
double d = ((Double) o).doubleValue();
}
@@ -47,7 +47,7 @@
}
}
- public String testFPFlimsyIfGuard(Comparable<?> c, boolean isNumber) {
+ public static String testFPFlimsyIfGuard(Comparable<?> c, boolean isNumber) {
String s = c.toString();
if (isNumber) {
Number n = (Number)c;
@@ -57,8 +57,8 @@
return s;
}
- public String testFPTableSwitchGuard(Comparable<?> c, int type) {
- String s = c.toString();
+ private String testFPTableSwitchGuard(Comparable<?> c, int type) {
+ String s = "";
switch (type)
{
@@ -91,8 +91,8 @@
return s;
}
- public String testFPLookupSwitch(Comparable<?> c, int type) {
- String s = c.toString();
+ private String testFPLookupSwitch(Comparable<?> c, int type) {
+ String s = "";
switch (type)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|