public static java.lang.String METHOD_1 ( java.lang.String path ) { while ( path . startsWith ( STRING_1 ) ) { path = path . substring ( 1 ) ; } if ( ! ( path . METHOD_2 ( STRING_2 ) ) ) { if ( ! ( path . METHOD_2 ( STRING_1 ) ) ) { path = path + STRING_1 ; } path = path + STRING_2 ; } return path ; }

public static java.lang.String METHOD_1 ( java.lang.String path ) { if ( ! ( path . METHOD_2 ( STRING_2 ) ) ) { if ( ! ( path . METHOD_2 ( STRING_1 ) ) ) { path = path + STRING_1 ; } path = path + STRING_2 ; } while ( path . startsWith ( STRING_1 ) ) { path = path . substring ( 1 ) ; } return path ; }
