[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Project.java, 1.159, 1.160
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2009-02-17 10:50:28
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2910/src/net/sourceforge/bprocessor/model Modified Files: Project.java Log Message: Index: Project.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Project.java,v retrieving revision 1.159 retrieving revision 1.160 diff -C2 -d -r1.159 -r1.160 *** Project.java 13 Feb 2009 11:34:53 -0000 1.159 --- Project.java 17 Feb 2009 10:50:22 -0000 1.160 *************** *** 66,70 **** /** */ public static final boolean SENSE = false; ! private static final String HOST = "dhcp-11-71-167"; private static final int PORT = 8800; --- 66,70 ---- /** */ public static final boolean SENSE = false; ! private static final String HOST = "localhost"; private static final int PORT = 8800; *************** *** 251,255 **** if (result.equals("data")) { ! long timestamp = deserializer.readInt(); long data = deserializer.readInt(); DataItem item = new DataItem(id, timestamp, (short) 1, data); --- 251,256 ---- if (result.equals("data")) { ! String stamp = deserializer.readString(); ! long timestamp = Long.valueOf(stamp); long data = deserializer.readInt(); DataItem item = new DataItem(id, timestamp, (short) 1, data); *************** *** 1438,1442 **** buffer.append("Distance=\"" + opening.getDistance() + "\" "); buffer.append("OpeningDiameter=\"" + opening.getWidth() + "\""); ! buffer.append(">"); println(buffer); } --- 1439,1443 ---- buffer.append("Distance=\"" + opening.getDistance() + "\" "); buffer.append("OpeningDiameter=\"" + opening.getWidth() + "\""); ! buffer.append("/>"); println(buffer); } *************** *** 1448,1452 **** buffer.append("OpeningID1=\"" + connection.getFrom().getId() + "\" "); buffer.append("OpeningID2=\"" + connection.getTo().getId() + "\" "); ! buffer.append(">"); println(buffer); } --- 1449,1453 ---- buffer.append("OpeningID1=\"" + connection.getFrom().getId() + "\" "); buffer.append("OpeningID2=\"" + connection.getTo().getId() + "\" "); ! buffer.append("/>"); println(buffer); } |