[Nodal-cvs] nodal/j-src/org/nodal/nav PropertyOp.java,1.18,1.19
Status: Pre-Alpha
Brought to you by:
leei
From: Lee I. <le...@us...> - 2004-07-17 18:00:33
|
Update of /cvsroot/nodal/nodal/j-src/org/nodal/nav In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1447/org/nodal/nav Modified Files: PropertyOp.java Log Message: Have a Node property be written as its id() name. Index: PropertyOp.java =================================================================== RCS file: /cvsroot/nodal/nodal/j-src/org/nodal/nav/PropertyOp.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** PropertyOp.java 25 Mar 2004 21:52:34 -0000 1.18 --- PropertyOp.java 17 Jul 2004 18:00:25 -0000 1.19 *************** *** 53,56 **** --- 53,60 ---- public String toString() { + if (property instanceof Node) { + Node node = (Node) property; + return node.id().string(); + } return property.toString(); } |