values in the cdtorootnodes datastructure)
FlagState fsnew=(FlagState) fsit.next();
fsnew.setAsSourceNode();
fsnew.addAllocatingTask(td);
- ((Vector)cdtorootnodes.get(cd)).add(fsnew);
+ ((Vector)cdtorootnodes.get(fsnew.getClassDescriptor())).add(fsnew);
if (! ((Hashtable<FlagState,FlagState>)flagstates.get(fsnew.getClassDescriptor())).containsKey(fsnew)) {
((Hashtable<FlagState,FlagState>)flagstates.get(fsnew.getClassDescriptor())).put(fsnew, fsnew);
// Should think of a better way to do this, instead of using a vector(maybe a class)
cd_nodeid.addElement(cd); //adding the ClassDescriptor
cd_nodeid.addElement(root.getLabel()); //adding the Node label
+ System.out.println(cd+" "+root.getLabel());
sourcenodemap.put("/"+cd.getSymbol()+"_"+root.getLabel()+".html",cd_nodeid);
}
}