This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-access.git


The following commit(s) were added to refs/heads/main by this push:
     new bbade60  formats code
bbade60 is described below

commit bbade605ff1b286c974ad17e884a18a44eeb8519
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Thu Sep 28 17:08:15 2023 -0400

    formats code
---
 .../apache/accumulo/access/AccessEvaluator.java    |  3 ++-
 .../apache/accumulo/access/AccessExpression.java   | 24 ++++++++++++++--------
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/src/main/java/org/apache/accumulo/access/AccessEvaluator.java 
b/src/main/java/org/apache/accumulo/access/AccessEvaluator.java
index 34f45c1..edd4b69 100644
--- a/src/main/java/org/apache/accumulo/access/AccessEvaluator.java
+++ b/src/main/java/org/apache/accumulo/access/AccessEvaluator.java
@@ -22,7 +22,8 @@ import java.util.Collection;
 
 /**
  * <p>
- * Used to decide if an entity with one more sets of authorizations can access 
zero or more access expression.
+ * Used to decide if an entity with one more sets of authorizations can access 
zero or more access
+ * expression.
  *
  * <p>
  * Below is an example that should print false and then print true.
diff --git a/src/main/java/org/apache/accumulo/access/AccessExpression.java 
b/src/main/java/org/apache/accumulo/access/AccessExpression.java
index c7022f0..0c6b51b 100644
--- a/src/main/java/org/apache/accumulo/access/AccessExpression.java
+++ b/src/main/java/org/apache/accumulo/access/AccessExpression.java
@@ -59,11 +59,15 @@ public interface AccessExpression {
   /**
    * Deduplicate, sort, and flatten expressions.
    *
-   * <p>As an example of flattening, the expression {@code A&(B&C)} can be 
flattened to {@code A&B&C}.
+   * <p>
+   * As an example of flattening, the expression {@code A&(B&C)} can be 
flattened to {@code A&B&C}.
    *
-   * <p>As an example of sorting, the expression {@code (Z&Y)|(C&B)} can be 
sorted to {@code (B&C)|(Y&Z)}
+   * <p>
+   * As an example of sorting, the expression {@code (Z&Y)|(C&B)} can be 
sorted to
+   * {@code (B&C)|(Y&Z)}
    *
-   * <p>As an example of deduplication, the expression {@code X&Y&X} is 
equivalent to {@code X&Y}
+   * <p>
+   * As an example of deduplication, the expression {@code X&Y&X} is 
equivalent to {@code X&Y}
    *
    * @return A normalized version of the visibility expression that removes 
duplicates and orders
    *         the expression in a consistent way.
@@ -96,9 +100,10 @@ public interface AccessExpression {
 
   /**
    * Authorizations occurring in an access expression can only contain the 
characters listed in the
-   * <a 
href="https://github.com/apache/accumulo-access/blob/main/SPECIFICATION.md";>specification</a>
-   * unless quoted. Use this method to quote authorizations that occur in an 
access expression. This
-   * method will only quote if it is needed.
+   * <a href=
+   * 
"https://github.com/apache/accumulo-access/blob/main/SPECIFICATION.md";>specification</a>
 unless
+   * quoted. Use this method to quote authorizations that occur in an access 
expression. This method
+   * will only quote if it is needed.
    */
   static byte[] quote(byte[] authorization) {
     return AccessExpressionImpl.quote(authorization);
@@ -106,9 +111,10 @@ public interface AccessExpression {
 
   /**
    * Authorizations occurring in an access expression can only contain the 
characters listed in the
-   * <a 
href="https://github.com/apache/accumulo-access/blob/main/SPECIFICATION.md";>specification</a>
-   * unless quoted. Use this method to quote authorizations that occur in an 
access expression. This
-   * method will only quote if it is needed.
+   * <a href=
+   * 
"https://github.com/apache/accumulo-access/blob/main/SPECIFICATION.md";>specification</a>
 unless
+   * quoted. Use this method to quote authorizations that occur in an access 
expression. This method
+   * will only quote if it is needed.
    */
   static String quote(String authorization) {
     return AccessExpressionImpl.quote(authorization);

Reply via email to