justinmclean opened a new issue, #7985:
URL: https://github.com/apache/gravitino/issues/7985
### What would you like to be improved?
Code in
authorizations/authorization-common/src/main/java/org/apache/gravitino/authorization/common/PathBasedMetadataObject.java.
Here is a test case that should help:
```
@Test
public void testRecursiveFlagAffectsEquality() {
PathBasedMetadataObject recursiveObject =
new PathBasedMetadataObject(
"parent", "name", "path", PathBasedMetadataObject.FILESET_PATH,
true);
PathBasedMetadataObject nonRecursiveObject =
new PathBasedMetadataObject(
"parent", "name", "path", PathBasedMetadataObject.FILESET_PATH,
false);
Assertions.assertNotEquals(recursiveObject, nonRecursiveObject);
}
```
### How should we improve?
fix hash
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]