public int getInteger ( String key ) throws MissingResourceException { String result = getString ( key ) ; try { return Integer . parseInt ( result ) ; } catch ( NumberFormatException nfe ) { if ( tc . isEventEnabled ( ) ) { Tr . event ( tc , "Unable to parse " + result + " as Integer." ) ; } // DGH20040823: Begin fix for defect 218797 - Source provided by Tom Musta // String msg = messages.getString("NLS.integerParseError", // "Unable to parse as integer."); String msg = getMessages ( ) . getString ( "NLS.integerParseError" , "Unable to parse as integer." ) ; // DGH20040823: End fix for defect 218797 - Source provided by Tom Musta throw new MissingResourceException ( msg , bundleName , key ) ; } }
Not sure why this is here . Looks like it is a replacement for Integer . getInteger .