airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1352209 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreterConfiguration.java
Date Wed, 20 Jun 2012 17:14:12 GMT
Author: lahiru
Date: Wed Jun 20 17:14:11 2012
New Revision: 1352209

URL: http://svn.apache.org/viewvc?rev=1352209&view=rev
Log:
fixing workflowInterpreter notification failure.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreterConfiguration.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreterConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreterConfiguration.java?rev=1352209&r1=1352208&r2=1352209&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreterConfiguration.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreterConfiguration.java
Wed Jun 20 17:14:11 2012
@@ -138,15 +138,7 @@ public class WorkflowInterpreterConfigur
 
 	public WorkflowNotifiable getNotifier() {
 		if (notifier==null){
-			if (getMonitor()==null){
-				if (isOffline()) {
-					notifier = new StandaloneNotificationSender(getTopic(),getWorkflow());
-				} else {
-					throw new Error("Cannot Initialize workflow with offline false");
-				}
-			}else{
 				notifier=new NotificationSender(getMessageBrokerURL(), getTopic());
-			}
 		}
 		return notifier;
 	}



Mime
View raw message