Permalink
Browse files

Cleaned up generics

  • Loading branch information...
1 parent b44817d commit 32ef11a783010dfa9071f27398b85910a1684f3d Shane Perry committed Mar 22, 2013
Showing with 4 additions and 8 deletions.
  1. +4 −8 core/src/main/java/me/prettyprint/cassandra/service/ClearCounterRow.java
@@ -1,7 +1,3 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
package me.prettyprint.cassandra.service;
import me.prettyprint.hector.api.Keyspace;
@@ -39,7 +35,7 @@ public ClearCounterRow(Keyspace keyspace, Serializer<K> keySerializer, Serialize
* @param cf Column family name
* @return <code>this</code>
*/
- public ClearCounterRow setColumnFamily(String cf) {
+ public ClearCounterRow<K, N> setColumnFamily(String cf) {
this.cf = cf;
return this;
}
@@ -50,7 +46,7 @@ public ClearCounterRow setColumnFamily(String cf) {
* @param rowKey Row key
* @return <code>this</code>
*/
- public ClearCounterRow setRowKey(K rowKey) {
+ public ClearCounterRow<K, N> setRowKey(K rowKey) {
this.rowKey = rowKey;
return this;
}
@@ -61,7 +57,7 @@ public ClearCounterRow setRowKey(K rowKey) {
* @param interval Mutation interval
* @return <code>this</code>
*/
- public ClearCounterRow setMutateInterval(int interval) {
+ public ClearCounterRow<K, N> setMutateInterval(int interval) {
this.mutateInterval = interval;
return this;
}
@@ -72,7 +68,7 @@ public ClearCounterRow setMutateInterval(int interval) {
* @param count The number of columns to retrieve per slice
* @return &lt;this&gt;
*/
- public ClearCounterRow setCount(int count) {
+ public ClearCounterRow<K, N> setCount(int count) {
this.count = count;
return this;
}

0 comments on commit 32ef11a

Please sign in to comment.