commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1203541 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/connectedcomponents/Tarjan.java
Date Fri, 18 Nov 2011 09:03:43 GMT
Author: simonetripodi
Date: Fri Nov 18 09:03:42 2011
New Revision: 1203541

URL: http://svn.apache.org/viewvc?rev=1203541&view=rev
Log:
added hidden construcotor in Tarjan class algorithm

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/connectedcomponents/Tarjan.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/connectedcomponents/Tarjan.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/connectedcomponents/Tarjan.java?rev=1203541&r1=1203540&r2=1203541&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/connectedcomponents/Tarjan.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/connectedcomponents/Tarjan.java
Fri Nov 18 09:03:42 2011
@@ -39,6 +39,14 @@ public final class Tarjan
 {
 
     /**
+     * Hidden constructor, this class cannot be instantiated directly.
+     */
+    private Tarjan()
+    {
+        // do nothing
+    }
+
+    /**
      * Applies the classical Tarjan's algorithm checking if there is a strongly connected
component.
      *
      * @param <V> the Graph vertices type.



Mime
View raw message