You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2021/12/22 08:18:53 UTC
[ofbiz-plugins] branch trunk updated: Improved: fixes an indentation
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1eeb402 Improved: fixes an indentation
1eeb402 is described below
commit 1eeb4026e676a3d06fc1d1b9a640d4635aed74d2
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Wed Dec 22 09:19:12 2021 +0100
Improved: fixes an indentation
---
.../java/org/apache/ofbiz/ldap/cas/OFBizCasAuthenticationHandler.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ldap/src/main/java/org/apache/ofbiz/ldap/cas/OFBizCasAuthenticationHandler.java b/ldap/src/main/java/org/apache/ofbiz/ldap/cas/OFBizCasAuthenticationHandler.java
index 56b420e..203903a 100644
--- a/ldap/src/main/java/org/apache/ofbiz/ldap/cas/OFBizCasAuthenticationHandler.java
+++ b/ldap/src/main/java/org/apache/ofbiz/ldap/cas/OFBizCasAuthenticationHandler.java
@@ -80,8 +80,8 @@ public final class OFBizCasAuthenticationHandler extends AbstractOFBizAuthentica
// there's a ticket, we should validate the ticket
URL validateURL = new URL(casUrl + validateUri + "?" + PARAM_TICKET + "=" + ticket + "&" + PARAM_SERVICE + "=" + url);
URLConnection conn = validateURL.openConnection();
- try (InputStreamReader result = new InputStreamReader(conn.getInputStream(), "UTF-8");
- BufferedReader reader = new BufferedReader(result)) {
+ try (InputStreamReader result = new InputStreamReader(conn.getInputStream(), "UTF-8");
+ BufferedReader reader = new BufferedReader(result)) {
String oneline = reader.readLine();
if (oneline != null && "yes".equals(oneline)) {
// the ticket is true