diff options
author | Stefan Radomski <sradomski@mintwerk.de> | 2016-02-24 10:50:32 (GMT) |
---|---|---|
committer | Stefan Radomski <sradomski@mintwerk.de> | 2016-02-24 10:50:32 (GMT) |
commit | cf19f11b8d2bd6d9566c7528fbed40af06928abf (patch) | |
tree | a373b8e934fa78a1bf9db8afca2e9854437e45da /src/bindings/swig/java | |
parent | 7212d5a3dbbd2845d09df96b2c345132c8a24931 (diff) | |
download | uscxml-cf19f11b8d2bd6d9566c7528fbed40af06928abf.zip uscxml-cf19f11b8d2bd6d9566c7528fbed40af06928abf.tar.gz uscxml-cf19f11b8d2bd6d9566c7528fbed40af06928abf.tar.bz2 |
Some more refactoring and VHDL transformation
Diffstat (limited to 'src/bindings/swig/java')
-rw-r--r-- | src/bindings/swig/java/uscxml.i | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bindings/swig/java/uscxml.i b/src/bindings/swig/java/uscxml.i index 031b9c0..23f6401 100644 --- a/src/bindings/swig/java/uscxml.i +++ b/src/bindings/swig/java/uscxml.i @@ -239,7 +239,7 @@ import java.net.URL; Map<String, NativeIOProcessor> ioProcs = new HashMap<String, NativeIOProcessor>(); StringVector keys = getIOProcessorKeys(); IOProcMap ioProcMap = getIOProcessorsNative(); - for (int i = 0; i < keys.size(); i++) { + for (size_t i = 0; i < keys.size(); i++) { ioProcs.put(keys.get(i), ioProcMap.get(keys.get(i))); } return ioProcs; @@ -249,7 +249,7 @@ import java.net.URL; Map<String, NativeInvoker> invokers = new HashMap<String, NativeInvoker>(); StringVector keys = getInvokerKeys(); InvokerMap invokerMap = getInvokersNative(); - for (int i = 0; i < keys.size(); i++) { + for (size_t i = 0; i < keys.size(); i++) { invokers.put(keys.get(i), invokerMap.get(keys.get(i))); } return invokers; @@ -301,7 +301,7 @@ import java.util.LinkedList; Map<String, Data> compound = new HashMap<String, Data>(); DataMap dataMap = getCompoundNative(); StringVector dataMapKeys = getCompoundKeys(); - for (int i = 0; i < dataMapKeys.size(); i++) { + for (size_t i = 0; i < dataMapKeys.size(); i++) { compound.put(dataMapKeys.get(i), dataMap.get(dataMapKeys.get(i))); } return compound; @@ -318,7 +318,7 @@ import java.util.LinkedList; public List<Data> getArray() { List<Data> array = new LinkedList<Data>(); DataList dataList = getArrayNative(); - for (int i = 0; i < dataList.size(); i++) { + for (size_t i = 0; i < dataList.size(); i++) { array.add(dataList.get(i)); } return array; @@ -357,11 +357,11 @@ import java.util.LinkedList; ParamMap paramMap = getParamMap(); StringVector paramMapKeys = getParamMapKeys(); - for (int i = 0; i < paramMapKeys.size(); i++) { + for (size_t i = 0; i < paramMapKeys.size(); i++) { String key = paramMapKeys.get(i); DataList dataList = paramMap.get(key); - for (int j = 0; j < dataList.size(); j++) { + for (size_t j = 0; j < dataList.size(); j++) { Data data = dataList.get(j); if (!params.containsKey(key)) params.put(key, new LinkedList<Data>()); @@ -388,7 +388,7 @@ import java.util.LinkedList; StringVector nameMapKeys = getNameListKeys(); DataMap nameMap = getNameListNative(); - for (int i = 0; i < nameMapKeys.size(); i++) { + for (size_t i = 0; i < nameMapKeys.size(); i++) { namelist.put(nameMapKeys.get(i), nameMap.get(nameMapKeys.get(i))); } return namelist; |