Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02EF7614D for ; Sat, 18 Jun 2011 11:00:20 +0000 (UTC) Received: (qmail 27071 invoked by uid 500); 18 Jun 2011 11:00:19 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 27006 invoked by uid 500); 18 Jun 2011 11:00:19 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 26999 invoked by uid 99); 18 Jun 2011 11:00:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 11:00:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 11:00:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CDE3623889ED; Sat, 18 Jun 2011 10:59:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1137164 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java Date: Sat, 18 Jun 2011 10:59:55 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110618105955.CDE3623889ED@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Sat Jun 18 10:59:55 2011 New Revision: 1137164 URL: http://svn.apache.org/viewvc?rev=1137164&view=rev Log: visit methods made static Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java?rev=1137164&r1=1137163&r2=1137164&view=diff ============================================================================== --- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java (original) +++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/visit/Visit.java Sat Jun 18 10:59:55 2011 @@ -46,7 +46,7 @@ public final class Visit * @param source the root node the search begins from * @return the breadth first search tree */ - public final > Graph breadthFirstSearch( Graph graph, V source ) + public static final > Graph breadthFirstSearch( Graph graph, V source ) { VisitGraphBuilder visitGraphBuilder = new VisitGraphBuilder(); breadthFirstSearch( graph, source, visitGraphBuilder ); @@ -62,8 +62,8 @@ public final class Visit * @param source the root node the search begins from * @param handler the handler intercepts visit actions */ - public final > void breadthFirstSearch( Graph graph, V source, - GraphVisitHandler handler ) + public static final > void breadthFirstSearch( Graph graph, V source, + GraphVisitHandler handler ) { if ( graph == null ) { @@ -137,7 +137,7 @@ public final class Visit * @param source the root node the search begins from * @return the depth first search tree */ - public final > Graph depthFirstSearch( Graph graph, V source ) + public static final > Graph depthFirstSearch( Graph graph, V source ) { VisitGraphBuilder visitGraphBuilder = new VisitGraphBuilder(); depthFirstSearch( graph, source, visitGraphBuilder ); @@ -153,8 +153,8 @@ public final class Visit * @param source the root node the search begins from * @param handler the handler intercepts visit actions */ - public final > void depthFirstSearch( Graph graph, V source, - GraphVisitHandler handler ) + public static final > void depthFirstSearch( Graph graph, V source, + GraphVisitHandler handler ) { if ( graph == null ) {