Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28544/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.173
retrieving revision 1.174
diff -C2 -d -r1.173 -r1.174
*** Project.java 15 May 2009 12:46:08 -0000 1.173
--- Project.java 18 May 2009 09:31:26 -0000 1.174
***************
*** 1352,1356 ****
Surface surface, int no) {
Location location = new Location();
! location.setId(space.getName() + no);
if (level == 1) {
location.setDescription("Site");
--- 1352,1360 ----
Surface surface, int no) {
Location location = new Location();
! if (surface != null) {
! location.setId(space.getName() + "-" + no);
! } else {
! location.setId(space.getName());
! }
if (level == 1) {
location.setDescription("Site");
|