cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r936023 - in /cassandra/trunk/src/java/org/apache/cassandra/locator: DatacenterShardStategy.java DatacenterShardStrategy.java
Date Tue, 20 Apr 2010 18:43:39 GMT
Author: jbellis
Date: Tue Apr 20 18:43:39 2010
New Revision: 936023

URL: http://svn.apache.org/viewvc?rev=936023&view=rev
Log:
add missing R to DataShardStrategy name.  patch by Eric Sigler; reviewed by jbellis for CASSANDRA-943

Added:
    cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStrategy.java
      - copied, changed from r936016, cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStategy.java
Removed:
    cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStategy.java

Copied: cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStrategy.java
(from r936016, cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStategy.java)
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStrategy.java?p2=cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStrategy.java&p1=cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStategy.java&r1=936016&r2=936023&rev=936023&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStategy.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/locator/DatacenterShardStrategy.java Tue
Apr 20 18:43:39 2010
@@ -41,7 +41,7 @@ import org.apache.cassandra.thrift.Consi
  * This class also caches the Endpoints and invalidates the cache if there is a
  * change in the number of tokens.
  */
-public class DatacenterShardStategy extends AbstractReplicationStrategy
+public class DatacenterShardStrategy extends AbstractReplicationStrategy
 {
     private static Map<String, List<Token>> dcMap = new HashMap<String, List<Token>>();
     private static Map<String, Integer> dcReplicationFactor = new HashMap<String,
Integer>();
@@ -105,7 +105,7 @@ public class DatacenterShardStategy exte
         }
     }
 
-    public DatacenterShardStategy(TokenMetadata tokenMetadata, IEndpointSnitch snitch)
+    public DatacenterShardStrategy(TokenMetadata tokenMetadata, IEndpointSnitch snitch)
     throws UnknownHostException
     {
         super(tokenMetadata, snitch);



Mime
View raw message