Skip to content

Commit c13d156

Browse files
committed
Fixes
1 parent 00671fd commit c13d156

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/FileAccessTree.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
* character. In the example, this would cause {@code "/a/b"} to sort between {@code "/a"} and {@code "/a.xml"} so that it correctly
7373
* finds {@code "/a"}.
7474
* </p>
75-
* <p>
7675
* With the paths pruned, sorted, and segregated by permission, each binary search has the following properties:
7776
* <ul>
7877
* <li>
@@ -85,8 +84,6 @@
8584
* Else, there is no match
8685
* </li>
8786
* </ul>
88-
* </p>
89-
* <p>
9087
* Permission is granted if both:
9188
* <ul>
9289
* <li>
@@ -96,7 +93,6 @@
9693
* there is a match in the array corresponding to the desired operation (read or write).
9794
* </li>
9895
* </ul>
99-
* </p>
10096
* <p>
10197
* Some additional care is required in the unit tests for this code, since it must also run on Windows where the separator is a
10298
* backslash and absolute paths don't start with a separator. See {@code FileAccessTreeTests#testDuplicateExclusivePaths} for an example.

libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/PolicyManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
/**
6363
* This class is responsible for finding the "layer" (system, server, plugin, agent) for a caller class to check, retrieve the policy
6464
* and entitlements for that layer, and check them against the action(s) the caller wants to perform.
65-
* <p></p>
65+
* <p>
6666
* To find a layer:
6767
* <ul>
6868
* <li>

0 commit comments

Comments
 (0)