private boolean matches10000 ( ApiDifference apiDiff ) { throwIfMissing ( false , false , true , true ) ; int fromVersion = 0 ; int toVersion = 0 ; try { fromVersion = Integer . parseInt ( from ) ; } catch ( NumberFormatException e ) { throw new IllegalArgumentException ( "Failed to parse the \"from\" parameter as a number for " + this ) ; } try { toVersion = Integer . parseInt ( to ) ; } catch ( NumberFormatException e ) { throw new IllegalArgumentException ( "Failed to parse the \"to\" parameter as a number for " + this ) ; } String [ ] args = getArgs ( apiDiff ) ; int reportedOld = Integer . parseInt ( args [ 0 ] ) ; int reportedNew = Integer . parseInt ( args [ 1 ] ) ; return fromVersion == reportedOld && toVersion == reportedNew ; }
Class format version increased