commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1368037 - in /commons/sandbox/graph/trunk/src: main/java/org/apache/commons/graph/elo/DefaultRankingSelector.java main/java/org/apache/commons/graph/elo/RankingSelector.java test/java/org/apache/commons/graph/elo/EloTestCase.java
Date Wed, 01 Aug 2012 14:51:14 GMT
Author: simonetripodi
Date: Wed Aug  1 14:51:13 2012
New Revision: 1368037

URL: http://svn.apache.org/viewvc?rev=1368037&view=rev
Log:
typo

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/DefaultRankingSelector.java
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/RankingSelector.java
    commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/elo/EloTestCase.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/DefaultRankingSelector.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/DefaultRankingSelector.java?rev=1368037&r1=1368036&r2=1368037&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/DefaultRankingSelector.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/DefaultRankingSelector.java
Wed Aug  1 14:51:13 2012
@@ -46,7 +46,7 @@ public final class DefaultRankingSelecto
     /**
      * {@inheritDoc}
      */
-    public KFactorBuilder<P> werePlayersAreRankedIn( PlayersRank<P> playersRank
)
+    public KFactorBuilder<P> wherePlayersAreRankedIn( PlayersRank<P> playersRank
)
     {
         playersRank = checkNotNull( playersRank, "ELO ranking can not be applied if players
can not be ranked!" );
         return new DefaultKFactorBuilder<P>( tournamentGraph, playersRank );

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/RankingSelector.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/RankingSelector.java?rev=1368037&r1=1368036&r2=1368037&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/RankingSelector.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/RankingSelector.java
Wed Aug  1 14:51:13 2012
@@ -32,6 +32,6 @@ public interface RankingSelector<P>
      * @param playersRank 
      * @return
      */
-    KFactorBuilder<P> werePlayersAreRankedIn( PlayersRank<P> playersRank );
+    KFactorBuilder<P> wherePlayersAreRankedIn( PlayersRank<P> playersRank );
 
 }

Modified: commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/elo/EloTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/elo/EloTestCase.java?rev=1368037&r1=1368036&r2=1368037&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/elo/EloTestCase.java
(original)
+++ commons/sandbox/graph/trunk/src/test/java/org/apache/commons/graph/elo/EloTestCase.java
Wed Aug  1 14:51:13 2012
@@ -83,7 +83,7 @@ public final class EloTestCase
 
         PlayersRank<String> playersRank = new SimplePlayersRank();
 
-        eloRate( tournament ).werePlayersAreRankedIn( playersRank ).withKFactor( 80 );
+        eloRate( tournament ).wherePlayersAreRankedIn( playersRank ).withKFactor( 80 );
 
         System.out.println( playersRank );
     }



Mime
View raw message