[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Space.java, 1.137, 1.138
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-05-07 13:34:18
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12187/src/net/sourceforge/bprocessor/model Modified Files: Space.java Log Message: generics Index: Space.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Space.java,v retrieving revision 1.137 retrieving revision 1.138 diff -C2 -d -r1.137 -r1.138 *** Space.java 24 Apr 2007 12:51:17 -0000 1.137 --- Space.java 7 May 2007 13:34:18 -0000 1.138 *************** *** 519,527 **** * @return The constructors */ ! public Collection getConstructors() { if (this.isContainer()) { return constructors.values(); } else { ! return Collections.EMPTY_LIST; } } --- 519,527 ---- * @return The constructors */ ! public Collection<Constructor> getConstructors() { if (this.isContainer()) { return constructors.values(); } else { ! return Collections.emptyList(); } } *************** *** 708,712 **** tmp.add(tempedge); } else { ! log.info("Edge were very short " + edge); } } --- 708,712 ---- tmp.add(tempedge); } else { ! log.warn("Edge were very short " + edge); } } *************** *** 1608,1615 **** } if (getOwner() != null && getOwner().getModellor() != null) { - log.info("owner has modellor"); Parametric parameters = getOwner().getModellor().get(this); if (parameters != null) { - log.info("owner has parameters"); res.add(new Attribute(parameters.getGeneralName(), parameters)); } --- 1608,1613 ---- *************** *** 2422,2426 **** * @param extrusion Collection of surfaces */ ! public void removeProtected(Collection extrusion) { Iterator surfaces = extrusion.iterator(); while (surfaces.hasNext()) { --- 2420,2424 ---- * @param extrusion Collection of surfaces */ ! public void removeProtected(Collection<Surface> extrusion) { Iterator surfaces = extrusion.iterator(); while (surfaces.hasNext()) { *************** *** 2453,2456 **** --- 2451,2455 ---- } } + Project.getInstance().changed(this); } *************** *** 2459,2463 **** * @param extrusion Collection of surfaces */ ! public void addProtected(Collection extrusion) { Iterator surfaces = extrusion.iterator(); while (surfaces.hasNext()) { --- 2458,2462 ---- * @param extrusion Collection of surfaces */ ! public void addProtected(Collection<Surface> extrusion) { Iterator surfaces = extrusion.iterator(); while (surfaces.hasNext()) { |