Closed mdrozdo closed 3 years ago
@mdrozdo Could you please explain more on the requirement/issue behind this change? Usually, we do not change public APIs in the code...
The issue occurs when using a bag function for a custom attribute data type, e.g. the Geometry data type in: https://github.com/TU-Berlin-SNET/tresor-pdp/blob/786e75f2801901ffdb21a662514069fec0a6b741/modules/geoxacml/src/main/java/org/geotools/xacml/geoxacml/config/GeoXACML.java#L187
(See also my description of https://github.com/wso2/balana/issues/144)
The code worked fine prior to https://github.com/wso2/balana/commit/647338610fc689d799af0f3d4e8222947ef42155.
The API doesn't really change as this PR only removes the override of the method defined in the base class. I haven't noticed any issues when using the base implementation.
What was the reason for introducing this override?
Purpose
Resolves issue https://github.com/wso2/balana/issues/144
I removed the override of the returnsBag function so that the code uses the field from the base class. I didn't find any issues with this in Balana tests nor in tests for my project using it.