This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 581ea39  Bug fix: adding closing parenthesis
581ea39 is described below

commit 581ea395060535f2084931423370c8afdff70c93
Author: Marcus Christie <[email protected]>
AuthorDate: Tue May 7 13:12:04 2019 -0400

    Bug fix: adding closing parenthesis
---
 .../java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
 
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
index 76a487e..0fcfbce 100644
--- 
a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
+++ 
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
@@ -309,7 +309,7 @@ public class EmailBasedMonitor implements JobMonitor, 
Runnable{
                     processedMessages.add(message);
 
                 } else if (!jobStatusResult.isAuthoritative()
-                        && (System.currentTimeMillis() - 
message.getSentDate().getTime() > 1000 * 60 * 5) {
+                        && (System.currentTimeMillis() - 
message.getSentDate().getTime() > 1000 * 60 * 5)) {
                     //marking old custom Airavata emails as read
                     processedMessages.add(message);
                     log.info("Marking old Airavata custom emails as read, 
message subject --> {}", message.getSubject());

Reply via email to