Replace com.opensymphony.xwork2 mentions

This commit is contained in:
Kusal Kithul-Godage
2024-11-02 14:18:42 +11:00
parent a43f8a5239
commit ecad4a576b
2 changed files with 2 additions and 2 deletions
@@ -99,7 +99,7 @@ import java.util.List;
* package com.example;
*
* import java.io.File;
* import com.opensymphony.xwork2.ActionSupport;
* import org.apache.struts2.ActionSupport;
* import org.apache.struts2.action.UploadedFilesAware;
*
* public UploadAction extends ActionSupport implements UploadedFilesAware {
@@ -352,7 +352,7 @@ public class ParametersInterceptor extends MethodFilterInterceptor {
if (action instanceof ModelDriven<?> && !ActionContext.getContext().getValueStack().peek().equals(action)) {
LOG.debug("Model driven Action detected, exempting from @StrutsParameter annotation requirement and OGNL allowlisting model type");
// (Exempted by annotation on com.opensymphony.xwork2.ModelDriven#getModel)
// (Exempted by annotation on org.apache.struts2.ModelDriven#getModel)
return hasValidAnnotatedMember("model", action, paramDepth + 1);
}