summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/utils/ActDefCache.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2013-10-25 17:27:29 +0200
committerAndrew Branson <andrew.branson@cern.ch>2013-10-25 17:27:29 +0200
commit0f892332b19ba8741a7db66a5c4daa386b2b5c1e (patch)
treeed0733ed83862bf3bae1aa1c2cccec4d266e4813 /src/main/java/com/c2kernel/utils/ActDefCache.java
parentcf28baaf82d0941f938444bda5b39440b944ddfb (diff)
Changes and refactoring to gui requirements
Used descriptions must use an integer version.
Diffstat (limited to 'src/main/java/com/c2kernel/utils/ActDefCache.java')
-rw-r--r--src/main/java/com/c2kernel/utils/ActDefCache.java2
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 23d8988..ab2bd90 100644
--- a/src/main/java/com/c2kernel/utils/ActDefCache.java
+++ b/src/main/java/com/c2kernel/utils/ActDefCache.java
@@ -21,7 +21,7 @@ public class ActDefCache extends DescriptionObjectCache<ActivityDef> {
}
@Override
- public ActivityDef loadObject(String name, String version, ItemProxy proxy) throws ObjectNotFoundException, InvalidDataException {
+ public ActivityDef loadObject(String name, int version, ItemProxy proxy) throws ObjectNotFoundException, InvalidDataException {
ActivityDef thisActDef;
String actType = proxy.getProperty("Complexity");
Viewpoint actView = (Viewpoint)proxy.getObject(ClusterStorage.VIEWPOINT + "/" + actType + "ActivityDef/" + version);