Permalink
Browse files

updated version in pom, added fix for CCP

  • Loading branch information...
1 parent 0556ecc commit b8d289ec77f34a9d5c09e026e34a4301f1be7f95 zznate committed Sep 28, 2010
Showing with 2 additions and 4 deletions.
  1. +1 −1 pom.xml
  2. +1 −3 src/main/java/me/prettyprint/cassandra/service/CassandraClientPoolImpl.java
View
@@ -5,7 +5,7 @@
<artifactId>hector</artifactId>
<packaging>bundle</packaging>
<!-- The version follows Cassandra's major version changes, e.g. 0.5.1 goes with the 0.5.1 cassandra release-->
- <version>0.6.0-16</version>
+ <version>0.6.0-17</version>
<name>hector</name>
<description>Cassandra Java Client Library</description>
<url>http://github.com/rantav/hector</url>
@@ -38,7 +38,7 @@
private final CassandraClientMonitor clientMonitor;
private CassandraHostConfigurator cassandraHostConfigurator;
- private Cluster cluster;
+ private final Cluster cluster;
public CassandraClientPoolImpl(CassandraClientMonitor clientMonitor) {
log.info("Creating a CassandraClientPool");
@@ -55,14 +55,12 @@ public CassandraClientPoolImpl(CassandraClientMonitor clientMonitor,
log.debug("Maybe creating pool-by-host instance for {} at {}", cassandraHost, this);
getPool(cassandraHost);
}
- this.cluster = new ThriftCluster("Default Cluster", this);
}
public CassandraClientPoolImpl(CassandraClientMonitor clientMonitor,
CassandraHostConfigurator cassandraHostConfigurator) {
this(clientMonitor, cassandraHostConfigurator.buildCassandraHosts());
this.cassandraHostConfigurator = cassandraHostConfigurator;
- this.cluster = new ThriftCluster("Default Cluster", this);
}

0 comments on commit b8d289e

Please sign in to comment.