Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8147/src/net/sourceforge/bprocessor/model
Modified Files:
Space.java
Log Message:
Small cosmetic changes to source
Index: Space.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Space.java,v
retrieving revision 1.152
retrieving revision 1.153
diff -C2 -d -r1.152 -r1.153
*** Space.java 26 Jun 2007 10:56:54 -0000 1.152
--- Space.java 27 Jun 2007 08:34:26 -0000 1.153
***************
*** 33,44 ****
*/
public class Space extends Geometric implements Parametric {
- private static final long serialVersionUID = 1L;
-
- private static final boolean DELETE_EDGES = true;
-
private static Logger log = Logger.getLogger(Space.class);
/** Construction Type */
public static final int CONSTRUCTION = 0;
-
/** functional Type */
public static final int FUNCTIONAL = 1;
--- 33,40 ----
*/
public class Space extends Geometric implements Parametric {
private static Logger log = Logger.getLogger(Space.class);
+
/** Construction Type */
public static final int CONSTRUCTION = 0;
/** functional Type */
public static final int FUNCTIONAL = 1;
***************
*** 46,59 ****
/** project level */
public static final int PROJECT_LEVEL = 2;
-
/** Space level */
public static final int SPACE_LEVEL = 3;
-
/** Element level */
public static final int ELEMENT_LEVEL = 4;
-
/** part level */
public static final int PART_LEVEL = 5;
-
/** B-net level */
public static final int NET_LEVEL = 6;
--- 42,51 ----
***************
*** 61,66 ****
/** part Functional Type */
private boolean isUnion = false;
-
-
/** The name */
private String name;
--- 53,56 ----
***************
*** 976,984 ****
public void delete(Surface surface) {
remove(surface);
! if (DELETE_EDGES) {
! for (Edge edge : surface.getEdges()) {
! if (edge.getSurfaces().size() < 1) {
! delete(edge);
! }
}
}
--- 966,972 ----
public void delete(Surface surface) {
remove(surface);
! for (Edge edge : surface.getEdges()) {
! if (edge.getSurfaces().size() < 1) {
! delete(edge);
}
}
|