Skip to content

Commit

Permalink
used static import for HFactory method
Browse files Browse the repository at this point in the history
  • Loading branch information
zznate committed Jul 6, 2010
1 parent 14eb053 commit da8855a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/prettyprint/cassandra/model/Mutator.java
@@ -1,6 +1,6 @@
package me.prettyprint.cassandra.model;

import static me.prettyprint.cassandra.model.HFactory.createColumnPath;
import static me.prettyprint.cassandra.model.HFactory.*;

import java.util.Arrays;

Expand Down Expand Up @@ -50,7 +50,7 @@ public <SN,N,V> MutationResult insert(final String key, final String cf, final H
@Override
public Void doInKeyspace(Keyspace ks) throws HectorException {
HColumn<N, V> hColumn = superColumn.getColumns().get(0);
ks.insert(key, HFactory.createSuperColumnPath(cf, superColumn.getNameBytes(), hColumn.getNameBytes()), hColumn.getValueBytes());
ks.insert(key, createSuperColumnPath(cf, superColumn.getNameBytes(), hColumn.getNameBytes()), hColumn.getValueBytes());
return null;
}
}));
Expand Down

0 comments on commit da8855a

Please sign in to comment.