projects
/
mir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
whoops ;-)
[mir.git]
/
source
/
mir
/
producer
/
reader
/
ScriptedProducerNodeTool.java
diff --git
a/source/mir/producer/reader/ScriptedProducerNodeTool.java
b/source/mir/producer/reader/ScriptedProducerNodeTool.java
index
56710b4
..
e8a2251
100755
(executable)
--- a/
source/mir/producer/reader/ScriptedProducerNodeTool.java
+++ b/
source/mir/producer/reader/ScriptedProducerNodeTool.java
@@
-60,17
+60,14
@@
public class ScriptedProducerNodeTool {
runtimeStack.pop();
}
runtimeStack.pop();
}
- public static Map saveMapValues(Map aMap, Set aKeys) {
- Map result = new HashMap();
+ public static void saveMapValues(Map aDestination, Map aSource, Set aKeys) {
Iterator i = aKeys.iterator();
while (i.hasNext()) {
Object key = i.next();
Iterator i = aKeys.iterator();
while (i.hasNext()) {
Object key = i.next();
- if (a
Map
.containsKey(key))
-
result.put(key, aMap
.get(key));
+ if (a
Source
.containsKey(key))
+
aDestination.put(key, aSource
.get(key));
}
}
-
- return result;
}
public static void restoreMapValues(Map aMap, Set aKeys, Map aSavedValues) {
}
public static void restoreMapValues(Map aMap, Set aKeys, Map aSavedValues) {