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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git


The following commit(s) were added to refs/heads/master by this push:
     new b37431a7 Fix formatting
b37431a7 is described below

commit b37431a7181cc8b44fcca7b6e69fe02a3981dda0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Aug 22 11:02:59 2023 -0400

    Fix formatting
---
 .../java/org/apache/commons/jexl3/ArithmeticOperatorTest.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/test/java/org/apache/commons/jexl3/ArithmeticOperatorTest.java 
b/src/test/java/org/apache/commons/jexl3/ArithmeticOperatorTest.java
index 6d1d65e9..07a29139 100644
--- a/src/test/java/org/apache/commons/jexl3/ArithmeticOperatorTest.java
+++ b/src/test/java/org/apache/commons/jexl3/ArithmeticOperatorTest.java
@@ -240,10 +240,10 @@ public class ArithmeticOperatorTest extends JexlTestCase {
         }
 
         public boolean startsWith(final int[] i) {
-            final SortedSet<Integer> sw =  values.headSet(i.length);
+            final SortedSet<Integer> sw = values.headSet(i.length);
             int n = 0;
-            for(final Integer value : sw) {
-                if(!value.equals(i[n++])) {
+            for (final Integer value : sw) {
+                if (!value.equals(i[n++])) {
                     return false;
                 }
             }
@@ -252,8 +252,8 @@ public class ArithmeticOperatorTest extends JexlTestCase {
         public boolean endsWith(final int[] i) {
             final SortedSet<Integer> sw =  values.tailSet(values.size() - 
i.length);
             int n = 0;
-            for(final Integer value : sw) {
-                if(!value.equals(i[n++])) {
+            for (final Integer value : sw) {
+                if (!value.equals(i[n++])) {
                     return false;
                 }
             }

Reply via email to