("INOUT".equals(modelParam.mode) || "IN".equals(modelParam.mode))) {
</BUG>
String value = (String) context.get(modelParam.name);
<BUG>if ("none".equals(modelParam.allowHtml)) {</BUG>
StringUtil.checkStringForHtmlStrictNone(modelParam.name, value, errorMessageList);
<BUG>} else if ("safe".equals(modelParam.allowHtml)) {
StringUtil.checkStringForHtmlSafeOnly(modelParam.name, value, errorMessageList);
}</BUG>
}
}

Debug.logError("[ModelService.validate] : {" + name + "} : (" + mode + ") Required test error: " + e.toString(), module);
throw e;
}
if ("IN".equals(mode)) {
List<String> errorMessageList = FastList.newInstance();
for (ModelParam modelParam : this.contextInfo.values()) {
if (context.get(modelParam.name) != null && ("String".equals(modelParam.type) || "java.lang.String".equals(modelParam.type))
&& !"any".equals(modelParam.allowHtml) && ("INOUT".equals(modelParam.mode) || "IN".equals(modelParam.mode))) {
String value = (String) context.get(modelParam.name);
StringUtil.checkStringForHtmlStrictNone(modelParam.name, value, errorMessageList);
}
}
