Author: simonetripodi Date: Fri Mar 2 20:52:20 2012 New Revision: 1296451 URL: http://svn.apache.org/viewvc?rev=1296451&view=rev Log: just added javadoc comments to specify that data structures are not thread safe Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/BaseGraph.java commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/BaseMutableGraph.java commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableWeightedGraph.java commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/MutableSpanningTree.java commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableGraph.java commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableWeightedGraph.java Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/BaseGraph.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/BaseGraph.java?rev=1296451&r1=1296450&r2=1296451&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/BaseGraph.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/BaseGraph.java Fri Mar 2 20:52:20 2012 @@ -38,6 +38,8 @@ import org.apache.commons.graph.VertexPa * Basic abstract in-memory based of a simple read-only {@link Graph} implementation. Subclasses may load adjacency * list/edges set in the constructor, or expose {@link org.apache.commons.graph.MutableGraph} APIs. * + * This class is NOT thread safe! + * * @param the Graph vertices type * @param the Graph edges type */ @@ -123,7 +125,7 @@ public abstract class BaseGraph the Graph vertices type * @param the Graph edges type */ @@ -113,7 +115,7 @@ public abstract class BaseMutableGraph vertexPair = new VertexPair( head, tail ); Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java?rev=1296451&r1=1296450&r2=1296451&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java Fri Mar 2 20:52:20 2012 @@ -32,6 +32,8 @@ import org.apache.commons.graph.VertexPa /** * A memory-based implementation of a mutable directed Graph. * + * This class is NOT thread safe! + * * @param the Graph vertices type * @param the Graph edges type */ Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableWeightedGraph.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableWeightedGraph.java?rev=1296451&r1=1296450&r2=1296451&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableWeightedGraph.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/DirectedMutableWeightedGraph.java Fri Mar 2 20:52:20 2012 @@ -26,6 +26,8 @@ import org.apache.commons.graph.Weighted /** * A memory-based implementation of a mutable, directed weighted Graph. * + * This class is NOT thread safe! + * * @param the Graph vertices type * @param the WeightedEdge edges type */ Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/MutableSpanningTree.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/MutableSpanningTree.java?rev=1296451&r1=1296450&r2=1296451&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/MutableSpanningTree.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/MutableSpanningTree.java Fri Mar 2 20:52:20 2012 @@ -27,6 +27,8 @@ import org.apache.commons.graph.weight.M /** * A memory-based implementation of a mutable spanning tree. * + * This class is NOT thread safe! + * * @param the Graph vertices type * @param the Graph weighted edges type * @param the weight type Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableGraph.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableGraph.java?rev=1296451&r1=1296450&r2=1296451&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableGraph.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableGraph.java Fri Mar 2 20:52:20 2012 @@ -26,6 +26,8 @@ import org.apache.commons.graph.Vertex; /** * A memory-based implementation of a mutable undirected Graph. * + * This class is NOT thread safe! + * * @param the Graph vertices type * @param the Graph edges type */ Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableWeightedGraph.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableWeightedGraph.java?rev=1296451&r1=1296450&r2=1296451&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableWeightedGraph.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UndirectedMutableWeightedGraph.java Fri Mar 2 20:52:20 2012 @@ -26,6 +26,8 @@ import org.apache.commons.graph.Weighted /** * A memory-based implementation of a mutable, undirected weighted Graph. * + * This class is NOT thread safe! + * * @param the Graph vertices type * @param the WeightedEdge edges type */