[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model ConstructionSpaceFacade.java,1.8,1.9
Status: Pre-Alpha
Brought to you by:
henryml
From: Jesper P. <je...@us...> - 2005-09-21 08:57:14
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25561/src/net/sourceforge/bprocessor/model Modified Files: ConstructionSpaceFacade.java EdgeFacade.java ElementFacade.java FunctionalSpaceFacade.java PartFacade.java SurfaceFacade.java VertexFacade.java Log Message: Synchronized access to all methods for now Index: ConstructionSpaceFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/ConstructionSpaceFacade.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ConstructionSpaceFacade.java 20 Sep 2005 12:56:45 -0000 1.8 --- ConstructionSpaceFacade.java 21 Sep 2005 08:57:07 -0000 1.9 *************** *** 156,160 **** * @return The construction spaces */ ! public Set findAll() { Set result = new HashSet(); --- 156,160 ---- * @return The construction spaces */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 219,223 **** * @return The construction space */ ! public ConstructionSpace findByName(String name) { ConstructionSpace result = null; --- 219,223 ---- * @return The construction space */ ! public synchronized ConstructionSpace findByName(String name) { ConstructionSpace result = null; *************** *** 254,258 **** * @return The space the given surface is conected with */ ! public Set findBySurface(Surface surface) { Set result = new HashSet(); --- 254,258 ---- * @return The space the given surface is conected with */ ! public synchronized Set findBySurface(Surface surface) { Set result = new HashSet(); Index: ElementFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/ElementFacade.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ElementFacade.java 20 Sep 2005 12:56:45 -0000 1.5 --- ElementFacade.java 21 Sep 2005 08:57:07 -0000 1.6 *************** *** 135,139 **** * @return The elements */ ! public Set findAll() { Set result = new HashSet(); --- 135,139 ---- * @return The elements */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 198,202 **** * @return The element */ ! public Element findByName(String name) { Element result = null; --- 198,202 ---- * @return The element */ ! public synchronized Element findByName(String name) { Element result = null; Index: SurfaceFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/SurfaceFacade.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SurfaceFacade.java 20 Sep 2005 12:56:45 -0000 1.9 --- SurfaceFacade.java 21 Sep 2005 08:57:07 -0000 1.10 *************** *** 146,150 **** * @return The surfaces */ ! public Set findAll() { Set result = new HashSet(); --- 146,150 ---- * @return The surfaces */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 209,213 **** * @return The surface */ ! public Surface findByName(String name) { Surface result = null; --- 209,213 ---- * @return The surface */ ! public synchronized Surface findByName(String name) { Surface result = null; *************** *** 244,248 **** * @return The surfaces */ ! public Set findByEdge(Edge e) { Set result = new HashSet(); --- 244,248 ---- * @return The surfaces */ ! public synchronized Set findByEdge(Edge e) { Set result = new HashSet(); Index: VertexFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/VertexFacade.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** VertexFacade.java 20 Sep 2005 12:56:45 -0000 1.6 --- VertexFacade.java 21 Sep 2005 08:57:07 -0000 1.7 *************** *** 135,139 **** * @return The vertexs */ ! public Set findAll() { Set result = new HashSet(); --- 135,139 ---- * @return The vertexs */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 198,202 **** * @return The vertex */ ! public Vertex findByName(String name) { Vertex result = null; --- 198,202 ---- * @return The vertex */ ! public synchronized Vertex findByName(String name) { Vertex result = null; *************** *** 236,240 **** * @return The vertexs */ ! public Set findByLocation(double x, double y, double z, double delta) { Set result = new HashSet(); --- 236,240 ---- * @return The vertexs */ ! public synchronized Set findByLocation(double x, double y, double z, double delta) { Set result = new HashSet(); Index: EdgeFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/EdgeFacade.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** EdgeFacade.java 20 Sep 2005 12:56:45 -0000 1.6 --- EdgeFacade.java 21 Sep 2005 08:57:07 -0000 1.7 *************** *** 135,139 **** * @return The edges */ ! public Set findAll() { Set result = new HashSet(); --- 135,139 ---- * @return The edges */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 198,202 **** * @return The edge */ ! public Edge findByName(String name) { Edge result = null; --- 198,202 ---- * @return The edge */ ! public synchronized Edge findByName(String name) { Edge result = null; *************** *** 233,237 **** * @return The edges */ ! public Set findByVertex(Vertex v) { Set result = new HashSet(); --- 233,237 ---- * @return The edges */ ! public synchronized Set findByVertex(Vertex v) { Set result = new HashSet(); Index: PartFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/PartFacade.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PartFacade.java 20 Sep 2005 12:56:45 -0000 1.5 --- PartFacade.java 21 Sep 2005 08:57:07 -0000 1.6 *************** *** 135,139 **** * @return The parts */ ! public Set findAll() { Set result = new HashSet(); --- 135,139 ---- * @return The parts */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 198,202 **** * @return The part */ ! public Part findByName(String name) { Part result = null; --- 198,202 ---- * @return The part */ ! public synchronized Part findByName(String name) { Part result = null; Index: FunctionalSpaceFacade.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/FunctionalSpaceFacade.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** FunctionalSpaceFacade.java 20 Sep 2005 12:56:45 -0000 1.8 --- FunctionalSpaceFacade.java 21 Sep 2005 08:57:07 -0000 1.9 *************** *** 156,160 **** * @return The functional spaces */ ! public Set findAll() { Set result = new HashSet(); --- 156,160 ---- * @return The functional spaces */ ! public synchronized Set findAll() { Set result = new HashSet(); *************** *** 219,223 **** * @return The functional space */ ! public FunctionalSpace findByName(String name) { FunctionalSpace result = null; --- 219,223 ---- * @return The functional space */ ! public synchronized FunctionalSpace findByName(String name) { FunctionalSpace result = null; *************** *** 254,258 **** * @return The space the given surface is conected with */ ! public Set findBySurface(Surface surface) { Set result = new HashSet(); --- 254,258 ---- * @return The space the given surface is conected with */ ! public synchronized Set findBySurface(Surface surface) { Set result = new HashSet(); |