public static java.lang.String METHOD_1 ( java.lang.String VAR_1 , java.lang.String str ) { if ( ( str . length ( ) ) > 0 ) { if ( ( str . METHOD_2 ( VAR_1 ) ) == ( ( str . length ( ) ) - 1 ) ) { str = str . substring ( 0 , ( ( str . length ( ) ) - INT_1 ) ) ; } } return str ; }

public static java.lang.String METHOD_1 ( java.lang.String VAR_1 , java.lang.String str ) { if ( ( str . length ( ) ) > 0 ) { if ( ( str . METHOD_2 ( VAR_1 ) ) == ( ( str . length ( ) ) - 1 ) ) { str = str . substring ( 0 , ( ( str . length ( ) ) - 1 ) ) ; } } return str ; }
