private int METHOD_1 ( java.lang.String operation ) { if ( ( operation . METHOD_2 ( CHAR_1 ) ) != ( - 1 ) ) { operation = operation . substring ( 0 , operation . METHOD_2 ( CHAR_1 ) ) ; } operation = operation . trim ( ) ; switch ( operation ) { case STRING_1 : return VAR_1 ; case STRING_2 : return VAR_2 ; case STRING_3 : return VAR_3 ; case STRING_4 : return VAR_4 ; case STRING_5 : return VAR_5 ; default : return VAR_6 ; } }

public int METHOD_1 ( java.lang.String operation ) { if ( ( operation . METHOD_2 ( CHAR_1 ) ) != ( - 1 ) ) { operation = operation . substring ( 0 , operation . METHOD_2 ( CHAR_1 ) ) ; } operation = operation . trim ( ) ; switch ( operation ) { case STRING_1 : return VAR_1 ; case STRING_2 : return VAR_2 ; case STRING_3 : return VAR_3 ; case STRING_4 : return VAR_4 ; case STRING_5 : return VAR_5 ; default : return VAR_6 ; } }
