diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-08-25 13:53:33 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-08-25 13:53:33 +0200 |
| commit | f7df981d031e360b379b86d9aefdde15b918b21f (patch) | |
| tree | 44f08a278514dee9be01ffba67da8db85547d907 /src/main/java/com/c2kernel/utils/ActDefCache.java | |
| parent | bdb708127a7f0e1ef065a49377341843e12672cb (diff) | |
Require integers for all resource versions
Diffstat (limited to 'src/main/java/com/c2kernel/utils/ActDefCache.java')
| -rw-r--r-- | src/main/java/com/c2kernel/utils/ActDefCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/c2kernel/utils/ActDefCache.java b/src/main/java/com/c2kernel/utils/ActDefCache.java index 2ee5c7c..f5a7a78 100644 --- a/src/main/java/com/c2kernel/utils/ActDefCache.java +++ b/src/main/java/com/c2kernel/utils/ActDefCache.java @@ -18,7 +18,7 @@ public class ActDefCache { SoftCache<String, ActCacheEntry> actCache = new SoftCache<String, ActCacheEntry>();
- public ActivityDef get(String actName, String actVersion) throws ObjectNotFoundException, InvalidDataException {
+ public ActivityDef get(String actName, int actVersion) throws ObjectNotFoundException, InvalidDataException {
ActivityDef thisActDef;
synchronized(actCache) {
ActCacheEntry thisActDefEntry = actCache.get(actName+"_"+actVersion);
|
