private static final boolean checkInt ( String s ) { try { //Coverity[FB.DLS_DEAD_LOCAL_STORE] int val = Integer . parseInt ( s ) ; if ( DebugValueChecking ) { DAPNode . log . debug ( "Attribute.checkInt() - string: '" + s + "' value: " + val ) ; } return true ; } catch ( NumberFormatException e ) { return false ; } }
Check if string is a valid Int32 .