From 5664fd4644c78f4571a1a72e6b9f0511fb10720a Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 2 Aug 2011 22:10:28 +0200 Subject: Finished move to generics. Enforced 1.6 compliance for now. No errors or warnings :) --- source/com/c2kernel/lifecycle/instance/Activity.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) mode change 100755 => 100644 source/com/c2kernel/lifecycle/instance/Activity.java (limited to 'source/com/c2kernel/lifecycle/instance/Activity.java') diff --git a/source/com/c2kernel/lifecycle/instance/Activity.java b/source/com/c2kernel/lifecycle/instance/Activity.java old mode 100755 new mode 100644 index 458c0a5..a0df570 --- a/source/com/c2kernel/lifecycle/instance/Activity.java +++ b/source/com/c2kernel/lifecycle/instance/Activity.java @@ -38,7 +38,7 @@ public class Activity extends WfVertex /** * vector of errors (Strings) that is constructed each time verify() is launched */ - protected Vector mErrors; + protected Vector mErrors; /** @associates a State machine engine */ private StateMachine machine; /** true is avalaibe to be executed */ @@ -56,7 +56,7 @@ public class Activity extends WfVertex { super(); setProperties(new WfCastorHashMap()); - mErrors = new Vector(0, 1); + mErrors = new Vector(0, 1); machine = new StateMachine(this); eventIds = new EventStorage(); mStartDate = new GTimeStamp(); @@ -483,20 +483,20 @@ public class Activity extends WfVertex /** * returns the lists of jobs for the activity and children (cf com.c2kernel.entity.Job) */ - public ArrayList calculateJobs(AgentPath agent, boolean recurse) + public ArrayList calculateJobs(AgentPath agent, boolean recurse) { return calculateJobsBase(agent, false); } // - public ArrayList calculateAllJobs(AgentPath agent, boolean recurse) + public ArrayList calculateAllJobs(AgentPath agent, boolean recurse) { return calculateJobsBase(agent, true); } - private ArrayList calculateJobsBase(AgentPath agent, boolean all) + private ArrayList calculateJobsBase(AgentPath agent, boolean all) { Logger.msg(7, "calculateJobs - " + getPath()); int[] transitions = { }; - ArrayList jobs = new ArrayList(); + ArrayList jobs = new ArrayList(); try { String agentName = checkAccessRights(agent); -- cgit v1.2.3