airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patanac...@apache.org
Subject svn commit: r1169778 - /incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DefaultNotifier.java
Date Mon, 12 Sep 2011 14:47:30 GMT
Author: patanachai
Date: Mon Sep 12 14:47:30 2011
New Revision: 1169778

URL: http://svn.apache.org/viewvc?rev=1169778&view=rev
Log:
Patch is applied by Saminda

Modified:
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DefaultNotifier.java

Modified: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DefaultNotifier.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DefaultNotifier.java?rev=1169778&r1=1169777&r2=1169778&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DefaultNotifier.java
(original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/notification/impl/DefaultNotifier.java
Mon Sep 12 14:47:30 2011
@@ -46,7 +46,7 @@ public class DefaultNotifier implements 
     }
 
     public Notifiable[] getNotifiable() {
-        return (Notifiable[]) notifiableObjects.toArray();
+        return notifiableObjects.toArray(new Notifiable[]{});
     }
 
     public void startSchedule(Object notifier, InvocationContext context) {



Mime
View raw message