sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject [sling-org-apache-sling-feature-cpconverter] branch master updated: trivial format
Date Mon, 06 May 2019 11:39:34 GMT
This is an automated email from the ASF dual-hosted git repository.

simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-cpconverter.git


The following commit(s) were added to refs/heads/master by this push:
     new ef77ce7  trivial format
ef77ce7 is described below

commit ef77ce700bd444d9661ddda11f39aca74dcb7363
Author: stripodi <stripodi@simos-mbp>
AuthorDate: Mon May 6 13:39:27 2019 +0200

    trivial format
---
 .../java/org/apache/sling/feature/cpconverter/acl/AclManager.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/feature/cpconverter/acl/AclManager.java b/src/main/java/org/apache/sling/feature/cpconverter/acl/AclManager.java
index 2a740a8..b5ebc45 100644
--- a/src/main/java/org/apache/sling/feature/cpconverter/acl/AclManager.java
+++ b/src/main/java/org/apache/sling/feature/cpconverter/acl/AclManager.java
@@ -78,7 +78,6 @@ public final class AclManager {
 
         Formatter formatter = null;
         try {
-
             Extension repoInitExtension = new Extension(ExtensionType.TEXT, Extension.EXTENSION_NAME_REPOINIT,
true);
 
             formatter = new Formatter();
@@ -130,7 +129,9 @@ public final class AclManager {
 
             feature.getExtensions().add(repoInitExtension);
         } finally {
-            if(formatter != null) { formatter.close(); }
+            if (formatter != null) {
+                formatter.close();
+            }
         }
     }
 }


Mime
View raw message