/** * If condition is an El, removes '#{' prefix and '}' suffix. * If not, adds a ' prefix and suffix */ private String convertCondition(String condition) { if (isEl(condition)) { return removeElDelimiters(condition); } else { return toEl(condition); } }