ilgrosso commented on code in PR #390:
URL: https://github.com/apache/syncope/pull/390#discussion_r1020090342


##########
core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/ReportLogic.java:
##########
@@ -272,8 +274,8 @@ public void exportExecutionResult(
             final ReportExecExportFormat format) {
 
         // streaming SAX handler from a compressed byte array stream
-        try (ByteArrayInputStream bais = new 
ByteArrayInputStream(reportExec.getExecResult());
-                ZipInputStream zis = new ZipInputStream(bais)) {
+        try ( ByteArrayInputStream bais = new 
ByteArrayInputStream(reportExec.getExecResult());  ZipInputStream zis =

Review Comment:
   Please revert this formatting-only change.
   This will also break checkstyle AFAICT.



##########
core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/ProvisioningContext.java:
##########
@@ -416,7 +434,7 @@ protected Transport connectTransport() throws 
MessagingException {
             if (provisioningProperties.getSmtp().isDebug()) {
                 session = mailSender.getSession();
                 session.setDebug(true);
-                try (LogOutputStream los = new LogOutputStream(LOG)) {
+                try ( LogOutputStream los = new LogOutputStream(LOG)) {

Review Comment:
   Please revert this formatting-only change.
   It will also break checkstyle AFAICT.



##########
core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/report/UserReportlet.java:
##########
@@ -363,11 +362,20 @@ protected int count() {
                         AnyTypeKind.USER);
     }
 
+    private void sleep() {

Review Comment:
   This method must be removed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to