This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch WW-5591-deprecate-xwork-object-property-accessor in repository https://gitbox.apache.org/repos/asf/struts.git
commit 931bebb9e06ee76c7cee33f9455688f65f9665f3 Author: Lukasz Lenart <[email protected]> AuthorDate: Tue Jul 21 11:04:41 2026 +0200 WW-5591 chore(core): mark XWorkObjectPropertyAccessor as deprecated The class is no longer used by the framework and can be removed in a future version. Co-Authored-By: Claude Opus 4.8 <[email protected]> --- .../org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java b/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java index c518d42cc..12641a116 100644 --- a/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java +++ b/core/src/main/java/org/apache/struts2/ognl/accessor/XWorkObjectPropertyAccessor.java @@ -26,7 +26,9 @@ import ognl.OgnlException; /** * @author Gabe + * @deprecated since 7.3.0, this accessor is no longer used by the framework and will be removed in a future version. */ +@Deprecated(since = "7.3.0", forRemoval = true) public class XWorkObjectPropertyAccessor extends ObjectPropertyAccessor { @Override public Object getProperty(OgnlContext context, Object target, Object oname) throws OgnlException {
