Open pizzi80 opened 2 months ago
Not sure this is simplification as this duplicates RIConstants.CHAR_ENCODING and therefore decreases the control on the default outcome. Ideally the default outcome should be controlled in only one place not two.
Exactly, we could simplify it further,
public static String getResponseEncoding(FacesContext context) {
return getResponseEncoding(context, null);
}
done
code simplification