From f7df981d031e360b379b86d9aefdde15b918b21f Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Mon, 25 Aug 2014 13:53:33 +0200 Subject: Require integers for all resource versions --- src/main/java/com/c2kernel/utils/ActDefCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/c2kernel/utils/ActDefCache.java') 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 actCache = new SoftCache(); - 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); -- cgit v1.2.3