public static boolean METHOD_1 ( java.lang.String value ) { if ( value . contains ( STRING_1 ) ) { value = value . replace ( STRING_1 , STRING_2 ) ; } try { TYPE_1 VAR_1 = TYPE_1 . METHOD_2 ( value ) ; return true ; } catch ( TYPE_2 VAR_2 ) { return false ; } }

public static boolean METHOD_1 ( java.lang.String value ) { if ( value . contains ( STRING_1 ) ) { value = value . replace ( STRING_1 , STRING_2 ) ; } try { TYPE_1 VAR_1 = TYPE_1 . METHOD_2 ( value . toUpperCase ( ) ) ; return true ; } catch ( TYPE_2 VAR_2 ) { return false ; } }
