commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcospera...@apache.org
Subject svn commit: r1360725 - 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 Thu, 12 Jul 2012 15:23:21 GMT
Author: marcosperanza
Date: Thu Jul 12 15:23:21 2012
New Revision: 1360725

URL: http://svn.apache.org/viewvc?rev=1360725&view=rev
Log:
Fixed typo in method name

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=1360725&r1=1360724&r2=1360725&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
Thu Jul 12 15:23:21 2012
@@ -46,7 +46,7 @@ public final class DefaultRankingSelecto
     /**
      * {@inheritDoc}
      */
-    public KFactorBuilder<P> werePlayersArRankedIn( PlayersRank<P> playersRank
)
+    public KFactorBuilder<P> werePlayersAreRankedIn( 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=1360725&r1=1360724&r2=1360725&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
Thu Jul 12 15:23:21 2012
@@ -32,6 +32,6 @@ public interface RankingSelector<P>
      * @param playersRank 
      * @return
      */
-    KFactorBuilder<P> werePlayersArRankedIn( PlayersRank<P> playersRank );
+    KFactorBuilder<P> werePlayersAreRankedIn( 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=1360725&r1=1360724&r2=1360725&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
Thu Jul 12 15:23:21 2012
@@ -83,7 +83,7 @@ public final class EloTestCase
 
         PlayersRank<String> playersRank = new SimplePlayersRank();
 
-        eloRate( tournament ).werePlayersArRankedIn( playersRank ).withKFactor( 80 );
+        eloRate( tournament ).werePlayersAreRankedIn( playersRank ).withKFactor( 80 );
 
         System.out.println( playersRank );
     }



Mime
View raw message