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-jxpath.git


The following commit(s) were added to refs/heads/master by this push:
     new fa5748b  Replace 2x empty lines with a single one
fa5748b is described below

commit fa5748bd2a330f201d9618a709efb64174f83ac3
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Dec 26 09:33:58 2024 -0500

    Replace 2x empty lines with a single one
---
 .../apache/commons/jxpath/JXPathContextFactoryConfigurationError.java | 2 --
 src/main/java/org/apache/commons/jxpath/JXPathException.java          | 2 --
 src/main/java/org/apache/commons/jxpath/ri/QName.java                 | 1 -
 .../org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java | 1 -
 .../commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java    | 1 -
 .../java/org/apache/commons/jxpath/ri/parser/SimpleCharStream.java    | 1 -
 src/main/java/org/apache/commons/jxpath/ri/parser/TokenMgrError.java  | 2 --
 src/main/java/org/apache/commons/jxpath/ri/parser/XPathParser.java    | 4 ----
 src/test/java/org/apache/commons/jxpath/TestNull.java                 | 1 -
 src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveBean.java    | 1 -
 .../org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java  | 1 -
 .../java/org/apache/commons/jxpath/ri/compiler/TestFunctions2.java    | 1 -
 .../java/org/apache/commons/jxpath/ri/model/AbstractXMLModelTest.java | 1 -
 .../java/org/apache/commons/jxpath/ri/model/beans/BeanModelTest.java  | 1 -
 .../apache/commons/jxpath/ri/model/beans/TestIndexedPropertyBean.java | 1 -
 .../org/apache/commons/jxpath/servlet/JXPathServletContextTest.java   | 1 -
 src/test/java/org/apache/commons/jxpath/util/ValueUtilsTest.java      | 1 -
 17 files changed, 23 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/jxpath/JXPathContextFactoryConfigurationError.java
 
b/src/main/java/org/apache/commons/jxpath/JXPathContextFactoryConfigurationError.java
index e1c4f9f..deeaf8a 100644
--- 
a/src/main/java/org/apache/commons/jxpath/JXPathContextFactoryConfigurationError.java
+++ 
b/src/main/java/org/apache/commons/jxpath/JXPathContextFactoryConfigurationError.java
@@ -47,7 +47,6 @@ public class JXPathContextFactoryConfigurationError extends 
Error {
         this.exception = null;
     }
 
-
     /**
      * Create a new {@code JXPathContextFactoryConfigurationError} with a
      * given {@code Exception} base cause of the error.
@@ -73,7 +72,6 @@ public class JXPathContextFactoryConfigurationError extends 
Error {
         this.exception = e;
     }
 
-
     /**
      * Gets the message (if any) for this error . If there is no
      * message for the exception and there is an encapsulated
diff --git a/src/main/java/org/apache/commons/jxpath/JXPathException.java 
b/src/main/java/org/apache/commons/jxpath/JXPathException.java
index c6a125c..68e4c73 100644
--- a/src/main/java/org/apache/commons/jxpath/JXPathException.java
+++ b/src/main/java/org/apache/commons/jxpath/JXPathException.java
@@ -46,7 +46,6 @@ public class JXPathException extends RuntimeException {
         this.exception = null;
     }
 
-
     /**
      * Create a new {@code JXPathException} with a
      * given {@code Throwable} base cause of the error.
@@ -71,7 +70,6 @@ public class JXPathException extends RuntimeException {
         this.exception = e;
     }
 
-
     /**
      * Gets the message (if any) for this error . If there is no
      * message for the exception and there is an encapsulated
diff --git a/src/main/java/org/apache/commons/jxpath/ri/QName.java 
b/src/main/java/org/apache/commons/jxpath/ri/QName.java
index 50d44f3..ccad014 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/QName.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/QName.java
@@ -18,7 +18,6 @@ package org.apache.commons.jxpath.ri;
 
 import java.io.Serializable;
 
-
 /**
  * A qualified name: a combination of an optional namespace prefix
  * and an local name.
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
 
b/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
index c96c04c..a8da297 100644
--- 
a/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
+++ 
b/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
@@ -24,7 +24,6 @@ import org.apache.commons.jxpath.ri.model.NodePointer;
 import org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer;
 import org.apache.commons.jxpath.ri.model.beans.PropertyPointer;
 
-
 /**
  * A Pointer that points to a {@link DynaBean}.  If the target DynaBean is 
Serializable,
  * so should this instance be.
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
 
b/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
index fbc1175..4dfb754 100644
--- 
a/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
+++ 
b/src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
@@ -258,7 +258,6 @@ public class DynaBeanPropertyPointer extends 
PropertyPointer {
         }
     }
 
-
     /**
      * Convert a value to the appropriate property type.
      * @param value to convert
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/parser/SimpleCharStream.java 
b/src/main/java/org/apache/commons/jxpath/ri/parser/SimpleCharStream.java
index d3f0b3e..0fa7fc6 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/parser/SimpleCharStream.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/parser/SimpleCharStream.java
@@ -89,7 +89,6 @@ public class SimpleCharStream
         throw new Error(t.getMessage());
      }
 
-
      bufsize += 2048;
      available = bufsize;
      tokenBegin = 0;
diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/parser/TokenMgrError.java 
b/src/main/java/org/apache/commons/jxpath/ri/parser/TokenMgrError.java
index c9140f9..d23ac17 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/parser/TokenMgrError.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/parser/TokenMgrError.java
@@ -164,11 +164,9 @@ public String getMessage() {
       character = curChar;
    }
 
-
    private int position;
    private char character;
 
-
    public int getPosition(){
     return position;
    }
diff --git a/src/main/java/org/apache/commons/jxpath/ri/parser/XPathParser.java 
b/src/main/java/org/apache/commons/jxpath/ri/parser/XPathParser.java
index db96fb7..0fd3be1 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/parser/XPathParser.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/parser/XPathParser.java
@@ -462,10 +462,8 @@ import org.apache.commons.jxpath.ri.Compiler;
 //}
 
 
-
 // See XPath Syntax (http://www.w3.org/TR/xpath )
 
-
 //void XPath() :
 //{}
 //{
@@ -473,7 +471,6 @@ import org.apache.commons.jxpath.ri.Compiler;
 //    <EOF>
 //}
 
-
 /* [1] LocationPath ::= RelativeLocationPath | AbsoluteLocationPath  */
   final public Object LocationPath() throws ParseException {
  Object ex = null;
@@ -614,7 +611,6 @@ import org.apache.commons.jxpath.ri.Compiler;
 /* [3] RelativeLocationPath ::= Step | RelativeLocationPath '/' Step | 
AbbreviatedRelativeLocationPath */
 /* [11]    AbbreviatedRelativeLocationPath    ::=    RelativeLocationPath '//' 
Step  */
 
-
 /*--------------------*/
 /* 2.1 Location Steps */
 /*--------------------*/
diff --git a/src/test/java/org/apache/commons/jxpath/TestNull.java 
b/src/test/java/org/apache/commons/jxpath/TestNull.java
index 53b970c..a647a21 100644
--- a/src/test/java/org/apache/commons/jxpath/TestNull.java
+++ b/src/test/java/org/apache/commons/jxpath/TestNull.java
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.jxpath;
 
-
 /**
  * General purpose test bean for JUnit tests for the "jxpath" component.
  */
diff --git a/src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveBean.java 
b/src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveBean.java
index f0b38ce..ca5a7a6 100644
--- a/src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveBean.java
+++ b/src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveBean.java
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.jxpath.ri.axes;
 
-
 /**
  * This bean is used to test infinite recursion protection in
  * descendant search contexts.
diff --git 
a/src/test/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
 
b/src/test/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
index ece64c1..d819a62 100644
--- 
a/src/test/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
+++ 
b/src/test/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
@@ -279,7 +279,6 @@ public class ExtensionFunctionTest extends 
AbstractJXPathTest {
             "test:count(//strings)",
             Integer.valueOf(21));
 
-
         // The function receives a collection of pointers
         // and checks their type for testing purposes
         assertXPathValue(
diff --git 
a/src/test/java/org/apache/commons/jxpath/ri/compiler/TestFunctions2.java 
b/src/test/java/org/apache/commons/jxpath/ri/compiler/TestFunctions2.java
index e5b17bf..aa3522e 100644
--- a/src/test/java/org/apache/commons/jxpath/ri/compiler/TestFunctions2.java
+++ b/src/test/java/org/apache/commons/jxpath/ri/compiler/TestFunctions2.java
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.jxpath.ri.compiler;
 
-
 /**
  */
 public class TestFunctions2 {
diff --git 
a/src/test/java/org/apache/commons/jxpath/ri/model/AbstractXMLModelTest.java 
b/src/test/java/org/apache/commons/jxpath/ri/model/AbstractXMLModelTest.java
index ddbf742..6756e74 100644
--- a/src/test/java/org/apache/commons/jxpath/ri/model/AbstractXMLModelTest.java
+++ b/src/test/java/org/apache/commons/jxpath/ri/model/AbstractXMLModelTest.java
@@ -109,7 +109,6 @@ public abstract class AbstractXMLModelTest extends 
AbstractJXPathTest {
             1);
     }
 
-
     public void testSetValue() {
         assertXPathSetValue(
             context,
diff --git 
a/src/test/java/org/apache/commons/jxpath/ri/model/beans/BeanModelTest.java 
b/src/test/java/org/apache/commons/jxpath/ri/model/beans/BeanModelTest.java
index 0a1db18..56fc77b 100644
--- a/src/test/java/org/apache/commons/jxpath/ri/model/beans/BeanModelTest.java
+++ b/src/test/java/org/apache/commons/jxpath/ri/model/beans/BeanModelTest.java
@@ -48,5 +48,4 @@ public class BeanModelTest extends AbstractBeanModelTest {
             "/indexed[1]");
     }
 
-
 }
\ No newline at end of file
diff --git 
a/src/test/java/org/apache/commons/jxpath/ri/model/beans/TestIndexedPropertyBean.java
 
b/src/test/java/org/apache/commons/jxpath/ri/model/beans/TestIndexedPropertyBean.java
index e54f17f..ecf9504 100644
--- 
a/src/test/java/org/apache/commons/jxpath/ri/model/beans/TestIndexedPropertyBean.java
+++ 
b/src/test/java/org/apache/commons/jxpath/ri/model/beans/TestIndexedPropertyBean.java
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.jxpath.ri.model.beans;
 
-
 /**
  * Test bean for JUnit tests of indexed property handling.
  */
diff --git 
a/src/test/java/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java 
b/src/test/java/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
index ec6bb71..dc9b590 100644
--- 
a/src/test/java/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
+++ 
b/src/test/java/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
@@ -155,7 +155,6 @@ public class JXPathServletContextTest extends TestCase {
 
         assertSame("Request session", session, request.getSession());
 
-
         final JXPathContext context = 
JXPathServletContexts.getPageContext(pageContext);
         context.setLenient(true);
 
diff --git a/src/test/java/org/apache/commons/jxpath/util/ValueUtilsTest.java 
b/src/test/java/org/apache/commons/jxpath/util/ValueUtilsTest.java
index 87342e7..9816d47 100644
--- a/src/test/java/org/apache/commons/jxpath/util/ValueUtilsTest.java
+++ b/src/test/java/org/apache/commons/jxpath/util/ValueUtilsTest.java
@@ -26,7 +26,6 @@ import junit.framework.TestCase;
 public class ValueUtilsTest extends TestCase {
 
 
-
     public void testGetValueFromArrayTooSmall() {
         assertNull(ValueUtils.getValue(new Object[0], 2));
     }

Reply via email to