METHOD_0 ( ) { java . lang . String target = STRING_0 ; java . lang . String base = STRING_1 ; java . lang . String expected = STRING_2 ; java . lang . String IDENT_0 = com . github . IDENT_1 . IDENT_2 . utils . IDENT_3 . METHOD_1 ( base , target , com . github . IDENT_1 . IDENT_2 . resources . IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String , java . lang . String ) { java . lang . String IDENT_6 = com . github . IDENT_1 . IDENT_2 . utils . IDENT_3 . METHOD_2 ( IDENT_7 , IDENT_8 ) ; java . lang . String IDENT_9 = com . github . IDENT_1 . IDENT_2 . utils . IDENT_3 . METHOD_2 ( IDENT_10 , IDENT_8 ) ; if ( IDENT_6 == null ) return "" ; if ( IDENT_9 == null ) return IDENT_7 ; java . lang . String [ ] base = IDENT_9 . split ( java . util . regex . IDENT_11 . METHOD_3 ( IDENT_8 ) ) ; java . lang . String [ ] target = IDENT_6 . split ( java . util . regex . IDENT_11 . METHOD_3 ( IDENT_8 ) ) ; java . lang . StringBuilder common = new java . lang . StringBuilder ( ) ; int IDENT_12 = 0 ; while ( ( ( IDENT_12 < ( target . length ) ) && ( IDENT_12 < ( base . length ) ) ) && ( target [ IDENT_12 ] . equals ( base [ IDENT_12 ] ) ) ) { common . append ( ( ( target [ IDENT_12 ] ) + IDENT_8 ) ) ; IDENT_12 ++ ; } if ( IDENT_12 == 0 ) { return IDENT_6 ; } boolean IDENT_13 = true ; java . io . File IDENT_14 = new java . io . File ( IDENT_9 ) ; if ( IDENT_14 . exists ( ) ) { IDENT_13 = IDENT_14 . METHOD_4 ( ) ; } else if ( IDENT_10 . METHOD_5 ( IDENT_8 ) ) { IDENT_13 = false ; } java . lang . StringBuilder IDENT_15 = new java . lang . StringBuilder ( ) ; if ( ( base . length ) != IDENT_12 ) { int IDENT_16 = ( IDENT_13 ) ? ( ( base . length ) - IDENT_12 ) - 1 : ( base . length ) - IDENT_12 ; for ( int i = 0 ; i < IDENT_16 ; i ++ ) { IDENT_15 . append ( ( STRING_3 + IDENT_8 ) ) ; } } IDENT_15 . append ( com . github . IDENT_1 . IDENT_2 . utils . IDENT_3 . METHOD_6 ( IDENT_6 , common . length ( ) ) ) ; return IDENT_15 . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_0 )