commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r651762 - in /commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml: EventDispatcher.java env/SimpleDispatcher.java
Date Sat, 26 Apr 2008 01:00:24 GMT
Author: rahul
Date: Fri Apr 25 18:00:20 2008
New Revision: 651762

URL: http://svn.apache.org/viewvc?rev=651762&view=rev
Log:
Eliminate raw type warnings.
TBD whether DOM API is too polluting.

Modified:
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/EventDispatcher.java
    commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/SimpleDispatcher.java

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/EventDispatcher.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/EventDispatcher.java?rev=651762&r1=651761&r2=651762&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/EventDispatcher.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/EventDispatcher.java
Fri Apr 25 18:00:20 2008
@@ -19,6 +19,8 @@
 import java.util.List;
 import java.util.Map;
 
+import org.w3c.dom.Node;
+
 /**
  * The event controller interface used to send messages containing
  * events or other information directly to another SCXML Interpreter,
@@ -52,8 +54,8 @@
      *  the <send> element.
      */
     void send(String sendId, String target, String targetType,
-            String event, Map params, Object hints, long delay,
-            List externalNodes);
+            String event, Map<String, Object> params, Object hints,
+            long delay, List<Node> externalNodes);
 
 }
 

Modified: commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/SimpleDispatcher.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/SimpleDispatcher.java?rev=651762&r1=651761&r2=651762&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/SimpleDispatcher.java
(original)
+++ commons/proper/scxml/branches/J6/src/main/java/org/apache/commons/scxml/env/SimpleDispatcher.java
Fri Apr 25 18:00:20 2008
@@ -23,6 +23,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.commons.scxml.EventDispatcher;
+import org.w3c.dom.Node;
 
 /**
  * Trivial EventDispatcher implementation.
@@ -56,8 +57,9 @@
     @see EventDispatcher#send(String,String,String,String,Map,Object,long,List)
      */
     public void send(final String sendId, final String target,
-            final String targetType, final String event, final Map params,
-            final Object hints, final long delay, final List externalNodes) {
+            final String targetType, final String event,
+            final Map<String, Object> params, final Object hints, final long delay,
+            final List<Node> externalNodes) {
         if (log.isInfoEnabled()) {
             StringBuffer buf = new StringBuffer();
             buf.append("send ( sendId: ").append(sendId);



Mime
View raw message