not returning hashtags count less than 1
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100471 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8f002ec254
commit
b5e55cc90a
|
@ -1495,7 +1495,8 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
for (Row<String, String> row : result.getResult()) {
|
for (Row<String, String> row : result.getResult()) {
|
||||||
for (Column<String> column : row.getColumns()) {
|
for (Column<String> column : row.getColumns()) {
|
||||||
int curValue = Integer.parseInt(column.getStringValue());
|
int curValue = Integer.parseInt(column.getStringValue());
|
||||||
toReturn.put(column.getName(), curValue);
|
if (curValue > 0)
|
||||||
|
toReturn.put(column.getName(), curValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return toReturn;
|
return toReturn;
|
||||||
|
|
Loading…
Reference in New Issue