Author: rahul
Date: Tue Jan 8 13:02:01 2008
New Revision: 610152
URL: http://svn.apache.org/viewvc?rev=610152&view=rev
Log:
Type safety improvements.
Modified:
commons/proper/scxml/branches/J5/src/main/java/org/apache/commons/scxml/env/SimpleScheduler.java
Modified:
commons/proper/scxml/branches/J5/src/main/java/org/apache/commons/scxml/env/SimpleScheduler.java
URL:
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J5/src/main/java/org/apache/commons/scxml/env/SimpleScheduler.java?rev=610152&r1=610151&r2=610152&view=diff
==============================================================================
---
commons/proper/scxml/branches/J5/src/main/java/org/apache/commons/scxml/env/SimpleScheduler.java
(original)
+++
commons/proper/scxml/branches/J5/src/main/java/org/apache/commons/scxml/env/SimpleScheduler.java
Tue Jan 8 13:02:01 2008
@@ -57,7 +57,7 @@
* The <code>Map</code> of active <code>Timer</code>s, keyed by
* <send> element <code>id</code>s.
*/
- private Map timers;
+ private Map<String, Timer> timers;
/**
* The state chart execution instance we schedule events for.
@@ -72,7 +72,7 @@
public SimpleScheduler(final SCXMLExecutor executor) {
super();
this.executor = executor;
- this.timers = Collections.synchronizedMap(new HashMap());
+ this.timers = Collections.synchronizedMap(new HashMap<String,
Timer>());
}
/**