From: Christian G. [M. Mitch] <mas...@us...> - 2002-11-12 18:58:02
|
Update of /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer In directory usw-pr-cvs1:/tmp/cvs-serv25503 Modified Files: Project.java Log Message: removed "deprecated" warning Index: Project.java =================================================================== RCS file: /cvsroot/jprojecttimer/jprojecttimer/de/cgarbs/apps/jprojecttimer/Project.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Project.java 11 Jun 2002 14:05:40 -0000 1.5 --- Project.java 12 Nov 2002 18:57:58 -0000 1.6 *************** *** 234,238 **** Element root = new Element("project"); ! root.addAttribute("version", "1.0"); Document aDocument = new Document(root); --- 234,238 ---- Element root = new Element("project"); ! root.setAttribute("version", "1.0"); Document aDocument = new Document(root); *************** *** 242,246 **** { root.addContent(new Element(GanttDesign.colorTechName[i]).addContent(ganttDesign.ganttColor[i].getRGB()+"")); ! } root.addContent(new Element("timeScale").addContent(timeScale + "")); root.addContent(new Element("anchored").addContent(anchored + "")); --- 242,246 ---- { root.addContent(new Element(GanttDesign.colorTechName[i]).addContent(ganttDesign.ganttColor[i].getRGB()+"")); ! } root.addContent(new Element("timeScale").addContent(timeScale + "")); root.addContent(new Element("anchored").addContent(anchored + "")); |