protected void validateLong ( int index , long min , long max , String errorKey , String errorMessage ) { String value = controller . getPara ( index ) ; if ( value != null && ( value . startsWith ( "N" ) || value . startsWith ( "n" ) ) ) { value = "-" + value . substring ( 1 ) ; } validateLongValue ( value , min , max , errorKey , errorMessage ) ; }
Validate long for urlPara .