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 7858b32  Fix formatting
7858b32 is described below

commit 7858b32b0b3e78cb5cdb01aa523647f650df67bc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Aug 22 11:00:13 2023 -0400

    Fix formatting
---
 .../java/org/apache/commons/jxpath/util/ClassLoaderUtilTest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/jxpath/util/ClassLoaderUtilTest.java 
b/src/test/java/org/apache/commons/jxpath/util/ClassLoaderUtilTest.java
index eb7575c..f6dc4e8 100644
--- a/src/test/java/org/apache/commons/jxpath/util/ClassLoaderUtilTest.java
+++ b/src/test/java/org/apache/commons/jxpath/util/ClassLoaderUtilTest.java
@@ -154,7 +154,7 @@ public void tearDown() {
     } catch (final IllegalArgumentException | IllegalAccessException e) {
       fail(e.getMessage());
     } catch (final InvocationTargetException e) {
-      if( e.getCause() instanceof RuntimeException ) {
+      if (e.getCause() instanceof RuntimeException) {
         // Allow the runtime exception to propagate up.
         throw (RuntimeException) e.getCause();
       }
@@ -180,11 +180,11 @@ public void tearDown() {
 
     @Override
     public synchronized Class loadClass(final String name, final boolean 
resolved) throws ClassNotFoundException {
-      if( EXAMPLE_CLASS_NAME.equals(name) ) {
+      if ( EXAMPLE_CLASS_NAME.equals(name) ) {
         throw new ClassNotFoundException();
       }
-      else if( TEST_CASE_CLASS_NAME.equals(name) ) {
-        if( testCaseClass == null ) {
+      else if ( TEST_CASE_CLASS_NAME.equals(name) ) {
+        if ( testCaseClass == null ) {
           final URL clazzUrl = 
this.getParent().getResource("org/apache/commons/jxpath/util/ClassLoaderUtilTest.class");
 
           final ByteArrayOutputStream out = new ByteArrayOutputStream();

Reply via email to