Skip to content

Commit e0ff791

Browse files
committed
Getting rid of a Java warning
1 parent 16bd1c1 commit e0ff791

File tree

1 file changed

+1
-1
lines changed
  • blueprints-neo4j2-graph/src/main/java/com/tinkerpop/blueprints/impls/neo4j2

1 file changed

+1
-1
lines changed

blueprints-neo4j2-graph/src/main/java/com/tinkerpop/blueprints/impls/neo4j2/Neo4j2Index.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public CloseableIterable<T> query(final Object query) {
107107
*/
108108
public long count(final String key, final Object value) {
109109
this.graph.autoStartTransaction(false);
110-
final IndexHits hits = this.rawIndex.get(key, value);
110+
final IndexHits<?> hits = this.rawIndex.get(key, value);
111111
final long count = hits.size();
112112
hits.close();
113113
return count;

0 commit comments

Comments
 (0)