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


The following commit(s) were added to refs/heads/master by this push:
     new 23a4546  Format: "catch(" -> "catch ("
23a4546 is described below

commit 23a45465d1bd6ed599ad1ed988fc291edb6fa2bc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Apr 18 10:31:20 2023 -0400

    Format: "catch(" -> "catch ("
---
 .../apache/commons/chain2/web/portlet/PortletWebContextTestCase.java    | 2 +-
 .../commons/chain2/web/servlet/ServletWebContextBaseTestCase.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/web/src/test/java/org/apache/commons/chain2/web/portlet/PortletWebContextTestCase.java
 
b/web/src/test/java/org/apache/commons/chain2/web/portlet/PortletWebContextTestCase.java
index dcf04c7..a4a099c 100644
--- 
a/web/src/test/java/org/apache/commons/chain2/web/portlet/PortletWebContextTestCase.java
+++ 
b/web/src/test/java/org/apache/commons/chain2/web/portlet/PortletWebContextTestCase.java
@@ -679,7 +679,7 @@ public class PortletWebContextTestCase extends 
ContextBaseTestCase {
         try {
             assertNull("put()", sessionMap.put("ABC", "XYZ"));
             assertNotNull("Session(P)", 
ctx.getRequest().getPortletSession(false));
-        } catch(UnsupportedOperationException ex) {
+        } catch (UnsupportedOperationException ex) {
             // expected: currently MockPortletRequest throws this
             //           when trying to create a PortletSession
         }
diff --git 
a/web/src/test/java/org/apache/commons/chain2/web/servlet/ServletWebContextBaseTestCase.java
 
b/web/src/test/java/org/apache/commons/chain2/web/servlet/ServletWebContextBaseTestCase.java
index 5d401ec..0af9020 100644
--- 
a/web/src/test/java/org/apache/commons/chain2/web/servlet/ServletWebContextBaseTestCase.java
+++ 
b/web/src/test/java/org/apache/commons/chain2/web/servlet/ServletWebContextBaseTestCase.java
@@ -783,7 +783,7 @@ public class ServletWebContextBaseTestCase extends 
ContextBaseTestCase {
         try {
             assertNull("put()", sessionMap.put("ABC", "XYZ"));
             assertNotNull("Session(P)", ctx.getRequest().getSession(false));
-        } catch(UnsupportedOperationException ex) {
+        } catch (UnsupportedOperationException ex) {
             // expected: currently MockHttpServletRequest throws this
             //           when trying to create a HttpSession
         }

Reply via email to