diff options
| author | abranson <andrew.branson@cern.ch> | 2011-08-02 22:10:28 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-08-02 22:10:28 +0200 |
| commit | 5664fd4644c78f4571a1a72e6b9f0511fb10720a (patch) | |
| tree | 7be1c346d1d001bf6b079089f995a60c52b955c1 /source/com/c2kernel/process/UserCodeProcess.java | |
| parent | 29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 (diff) | |
Finished move to generics. Enforced 1.6 compliance for now. No errors or
warnings :)
Diffstat (limited to 'source/com/c2kernel/process/UserCodeProcess.java')
| -rw-r--r--[-rwxr-xr-x] | source/com/c2kernel/process/UserCodeProcess.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/com/c2kernel/process/UserCodeProcess.java b/source/com/c2kernel/process/UserCodeProcess.java index 7eff37b..18fed06 100755..100644 --- a/source/com/c2kernel/process/UserCodeProcess.java +++ b/source/com/c2kernel/process/UserCodeProcess.java @@ -28,8 +28,8 @@ import com.c2kernel.utils.Logger; public class UserCodeProcess extends StandardClient implements EntityProxyObserver, Runnable {
protected AgentProxy agent;
static boolean active = true;
- ArrayList ignoredPaths = new ArrayList();
- HashMap jobs;
+ ArrayList<String> ignoredPaths = new ArrayList<String>();
+ HashMap<String, C2KLocalObject> jobs;
public UserCodeProcess(String agentName, String agentPass) {
// login - try for a while in case server hasn't imported our user yet
@@ -51,7 +51,7 @@ public class UserCodeProcess extends StandardClient implements EntityProxyObserv public void run() {
Thread.currentThread().setName("Usercode Process");
- jobs = new HashMap();
+ jobs = new HashMap<String, C2KLocalObject>();
// subscribe to job list
agent.subscribe(this, ClusterStorage.JOB, true);
while (active) {
|
