You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2012/02/08 23:30:50 UTC
svn commit: r1242151 - in
/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath:
DefaultHeuristicBuilder.java HeuristicBuilder.java
Author: simonetripodi
Date: Wed Feb 8 22:30:50 2012
New Revision: 1242151
URL: http://svn.apache.org/viewvc?rev=1242151&view=rev
Log:
typo
Modified:
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/DefaultHeuristicBuilder.java
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/HeuristicBuilder.java
Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/DefaultHeuristicBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/DefaultHeuristicBuilder.java?rev=1242151&r1=1242150&r2=1242151&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/DefaultHeuristicBuilder.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/DefaultHeuristicBuilder.java Wed Feb 8 22:30:50 2012
@@ -56,7 +56,7 @@ final class DefaultHeuristicBuilder<V ex
/**
* {@inheritDoc}
*/
- public <H extends Heuristic<V, W>> WeightedPath<V, WE, W> withEuristic( H heuristic )
+ public <H extends Heuristic<V, W>> WeightedPath<V, WE, W> withHeuristic( H heuristic )
{
heuristic = checkNotNull( heuristic, "A* algorithm can not be applied using a null heuristic" );
Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/HeuristicBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/HeuristicBuilder.java?rev=1242151&r1=1242150&r2=1242151&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/HeuristicBuilder.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/HeuristicBuilder.java Wed Feb 8 22:30:50 2012
@@ -41,6 +41,6 @@ public interface HeuristicBuilder<V exte
* @param <H>
* @return
*/
- <H extends Heuristic<V, W>> WeightedPath<V, WE, W> withEuristic( H heuristic );
+ <H extends Heuristic<V, W>> WeightedPath<V, WE, W> withHeuristic( H heuristic );
}