public void METHOD_1 ( java.lang.String str ) { if ( str . substring ( ( ( str . length ( ) ) - 1 ) , str . length ( ) ) . equals ( STRING_1 ) ) { VAR_1 = true ; number = java.lang.Integer . METHOD_2 ( str . substring ( 0 , ( ( str . length ( ) ) - INT_1 ) ) ) ; } else { VAR_1 = false ; number = java.lang.Integer . METHOD_2 ( str ) ; } }

public void METHOD_1 ( java.lang.String str ) { if ( str . substring ( ( ( str . length ( ) ) - 1 ) , str . length ( ) ) . equals ( STRING_1 ) ) { VAR_1 = true ; number = java.lang.Integer . METHOD_2 ( str . substring ( 0 , ( ( str . length ( ) ) - 1 ) ) ) ; } else { VAR_1 = false ; number = java.lang.Integer . METHOD_2 ( str ) ; } }
