METHOD_0 ( ) { java . net . URL url = this . getClass ( ) . METHOD_1 ( ) . getResource ( STRING_0 ) ; com . IDENT_0 . database . IDENT_1 . IDENT_2 IDENT_3 = new com . IDENT_0 . database . IDENT_1 . METHOD_2 ( STRING_1 , STRING_2 , STRING_3 , url . getPath ( ) ) ; "<AssertPlaceHolder>" ; } parse ( java . lang . String ) { if ( IDENT_3 == null ) { throw new com . IDENT_0 . lang . IDENT_4 . METHOD_3 ( STRING_4 ) ; } java . util . regex . IDENT_5 m = com . IDENT_0 . database . IDENT_1 . IDENT_6 . IDENT_7 . matcher ( IDENT_3 ) ; if ( ! ( m . find ( ) ) ) { if ( ! ( IDENT_3 . startsWith ( STRING_5 ) ) ) { return com . IDENT_0 . database . IDENT_1 . IDENT_6 . parse ( ( STRING_5 + IDENT_3 ) ) ; } else { java . util . regex . IDENT_5 IDENT_8 = com . IDENT_0 . database . IDENT_1 . IDENT_6 . IDENT_9 . matcher ( IDENT_3 ) ; if ( IDENT_8 . find ( ) ) { java . lang . String user = IDENT_8 . group ( 2 ) ; java . lang . String IDENT_10 = IDENT_8 . group ( 4 ) ; java . lang . String IDENT_11 = IDENT_8 . group ( 5 ) ; java . lang . String IDENT_12 = IDENT_8 . group ( 6 ) ; final java . lang . String IDENT_13 = IDENT_8 . group ( 8 ) ; final java . lang . String IDENT_14 = IDENT_8 . group ( 9 ) ; final java . lang . String IDENT_15 = IDENT_8 . group ( INT_0 ) ; if ( ( ( user == null ) || ( IDENT_11 == null ) ) || ( IDENT_12 == null ) ) { throw new com . IDENT_0 . lang . IDENT_4 . METHOD_3 ( ( STRING_6 + IDENT_3 ) ) ; } com . IDENT_0 . database . IDENT_1 . METHOD_2 url = new com . IDENT_0 . database . IDENT_1 . METHOD_2 ( user , IDENT_10 , IDENT_11 , IDENT_12 ) ; if ( ( IDENT_13 != null ) && ( IDENT_14 != null ) ) { url . METHOD_4 ( new com . IDENT_0 . database . IDENT_1 . IDENT_16 . METHOD_5 ( ) { public java . lang . String METHOD_6 ( ) { return IDENT_14 ; } public java . lang . String METHOD_7 ( ) { return IDENT_13 ; } @ com . IDENT_0 . database . IDENT_1 . Override public java . lang . String METHOD_8 ( ) { return IDENT_15 ; } } ) ; } return url ; } throw new com . IDENT_0 . lang . IDENT_4 . METHOD_3 ( ( STRING_7 + IDENT_3 ) ) ; } } java . lang . String host = m . group ( 5 ) ; java . lang . String IDENT_17 = m . group ( 7 ) ; if ( ( ( host != null ) && ( host . startsWith ( STRING_8 ) ) ) && ( "/" . equals ( IDENT_17 ) ) ) { return com . IDENT_0 . database . IDENT_1 . IDENT_6 . METHOD_9 ( m ) ; } else if ( ( ( host != null ) && ( ! ( host . startsWith ( STRING_8 ) ) ) ) && ( STRING_9 . equals ( IDENT_17 ) ) ) { return com . IDENT_0 . database . IDENT_1 . IDENT_6 . METHOD_10 ( m ) ; } else { throw new com . IDENT_0 . lang . IDENT_4 . METHOD_3 ( STRING_10 ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 , com . IDENT_0 . database . IDENT_1 . IDENT_6 . parse ( IDENT_3 . serialize ( ) ) )