cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1197365 - /cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
Date Fri, 04 Nov 2011 00:11:47 GMT
Author: jbellis
Date: Fri Nov  4 00:11:47 2011
New Revision: 1197365

URL: http://svn.apache.org/viewvc?rev=1197365&view=rev
Log:
add missing "finals"

Modified:
    cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java

Modified: cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java?rev=1197365&r1=1197364&r2=1197365&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
(original)
+++ cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
Fri Nov  4 00:11:47 2011
@@ -51,8 +51,8 @@ import org.apache.cassandra.utils.FBUtil
  */
 public class NetworkTopologyStrategy extends AbstractReplicationStrategy
 {
-    private IEndpointSnitch snitch;
-    private Map<String, Integer> datacenters;
+    private final IEndpointSnitch snitch;
+    private final Map<String, Integer> datacenters;
     private static final Logger logger = LoggerFactory.getLogger(NetworkTopologyStrategy.class);
 
     public NetworkTopologyStrategy(String table, TokenMetadata tokenMetadata, IEndpointSnitch
snitch, Map<String, String> configOptions) throws ConfigurationException



Mime
View raw message