METHOD_0 ( ) { java . lang . String original = STRING_0 ; java . lang . String IDENT_0 = java . net . IDENT_1 . encode ( original , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , boolean ) { if ( s == null ) { return null ; } final int size = s . length ( ) ; boolean IDENT_2 = false ; int i ; for ( i = 0 ; i < size ; i ++ ) { final char c = s . charAt ( i ) ; if ( ( c == STRING_2 ) || ( IDENT_3 && ( c == STRING_3 ) ) ) { IDENT_2 = true ; break ; } } if ( ! IDENT_2 ) { return s ; } final byte [ ] buf = s . getBytes ( IDENT_4 . UTF_8 ) ; int pos = i ; for ( ; i < size ; i ++ ) { char c = s . charAt ( i ) ; if ( c == STRING_2 ) { if ( i == ( size - 1 ) ) { throw new java . lang . IllegalArgumentException ( ( ( STRING_4 + STRING_5 ) + s ) ) ; } c = s . charAt ( ( ++ i ) ) ; if ( c == STRING_2 ) { buf [ ( pos ++ ) ] = STRING_2 ; break ; } if ( i >= ( size - 1 ) ) { throw new java . lang . IllegalArgumentException ( ( ( STRING_6 + STRING_5 ) + s ) ) ; } c = io . vertx . core . net . impl . IDENT_5 . METHOD_2 ( c ) ; final char IDENT_6 = io . vertx . core . net . impl . IDENT_5 . METHOD_2 ( s . charAt ( ( ++ i ) ) ) ; if ( ( c == ( IDENT_7 . MAX_VALUE ) ) || ( IDENT_6 == ( IDENT_7 . MAX_VALUE ) ) ) { throw new java . lang . IllegalArgumentException ( ( ( ( ( ( ( STRING_7 + ( s . charAt ( ( i - 1 ) ) ) ) + ( s . charAt ( i ) ) ) + STRING_8 ) + ( i - 2 ) ) + STRING_9 ) + s ) ) ; } c = ( ( char ) ( ( c * 16 ) + IDENT_6 ) ) ; buf [ ( pos ++ ) ] = ( ( byte ) ( c ) ) ; } else { buf [ ( pos ++ ) ] = ( ( byte ) ( ( IDENT_3 && ( c == STRING_3 ) ) ? STRING_10 : c ) ) ; } } return new java . lang . String ( buf , 0 , pos , java . nio . IDENT_8 . IDENT_4 . UTF_8 ) ; }
org . junit . Assert . assertEquals ( original , io . vertx . core . net . impl . IDENT_5 . METHOD_1 ( IDENT_0 , true ) )