You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/03/12 15:20:30 UTC
[openmeetings] branch master updated: no jira: code clean up
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 3ec9e7e no jira: code clean up
3ec9e7e is described below
commit 3ec9e7e7b55ff76108318a2c65f8f0f948864f10
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Mon Mar 12 22:20:22 2018 +0700
no jira: code clean up
---
.../org/apache/openmeetings/service/quartz/scheduler/CleanupJob.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/openmeetings-service/src/main/java/org/apache/openmeetings/service/quartz/scheduler/CleanupJob.java b/openmeetings-service/src/main/java/org/apache/openmeetings/service/quartz/scheduler/CleanupJob.java
index 5f69d1b..e3e5ad1 100644
--- a/openmeetings-service/src/main/java/org/apache/openmeetings/service/quartz/scheduler/CleanupJob.java
+++ b/openmeetings-service/src/main/java/org/apache/openmeetings/service/quartz/scheduler/CleanupJob.java
@@ -91,7 +91,7 @@ public class CleanupJob extends AbstractJob {
continue;
}
for (File file : files) {
- log.debug("expired TEST SETUP found: " + file.getCanonicalPath());
+ log.debug("expired TEST SETUP found: {}", file.getCanonicalPath());
file.delete();
}
}
@@ -126,7 +126,7 @@ public class CleanupJob extends AbstractJob {
if (roomId != null && streamClientManager.list(roomId).isEmpty()) {
File[] files = folder.listFiles(fi -> fi.isFile() && fi.lastModified() + roomFilesTtl < now);
if (files != null && files.length > 0) {
- log.debug("Room files are too old and no users in the room: " + roomId);
+ log.debug("Room files are too old and no users in the room: {}", roomId);
FileUtils.deleteDirectory(folder);
}
}
--
To stop receiving notification emails like this one, please contact
solomax@apache.org.