[Fb-contrib-commit] SF.net SVN: fb-contrib: [797] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/d
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-01-28 20:57:18
|
Revision: 797 http://svn.sourceforge.net/fb-contrib/?rev=797&view=rev Author: dbrosius Date: 2007-01-28 12:57:16 -0800 (Sun, 28 Jan 2007) Log Message: ----------- NAB fixes Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java 2007-01-28 20:53:12 UTC (rev 796) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java 2007-01-28 20:57:16 UTC (rev 797) @@ -74,7 +74,7 @@ String percent = System.getProperty(ENVY_PERCENT_PROPERTY); if (percent != null) { try { - envyPercent = Double.valueOf(percent).doubleValue(); + envyPercent = Double.parseDouble(percent); } catch (NumberFormatException nfe) { //Stick with original } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |