read a parameter with the specified name , convert it to an int , and return it . return the designated default value if the parameter does n't exist or if it is an illegal integer format . concode_field_sep PlaceHolder placeHolder concode_field_sep String filter concode_elem_sep String headWithTitle concode_elem_sep double getDoubleParameter concode_elem_sep boolean hasSpecialChars
int function ( HttpServletRequest arg0 , String arg1 , int arg2 ) { String loc0 = arg0 . getParameter ( arg1 ) ; int loc1 ; try { loc1 = Integer . parseInt ( loc0 ) ; } catch ( Exception loc2 ) { loc1 = arg2 ; } return ( loc1 ) ; }