what is a reasonable walking distance? 9% seems like a surprisingly small number.
19 karma · joined August 23, 2012
int res;
try { res = Integer.parseInt( s ); } // if part
catch ( NumberFormatException nfe ) { } // else part
The words are different (try/catch instead of if/else), but still 2 blocks of code with similar syntax...