You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by GitBox <gi...@apache.org> on 2022/11/11 10:34:23 UTC

[GitHub] [syncope] ilgrosso commented on a diff in pull request #390: SYNCOPE-1709: Persist Jobs' current status in the database to support multi-node deployments

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-unsubscribe@syncope.apache.org

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