Skip to content

Commit

Permalink
[NOID] Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
loveleif committed Jan 23, 2024
1 parent 655f2cf commit e9c53e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/apoc/meta/Meta.java
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,8 @@ private static Map<String, Long> getLabelCountStore(Transaction tx, KernelTransa
List<String> labels =
Iterables.stream(tx.getAllLabelsInUse()).map(Label::name).collect(Collectors.toList());
TokenRead tokenRead = kernelTx.tokenRead();
return labels.stream().collect(Collectors.toMap(e -> e, e -> kernelTx.dataRead()
.countsForNode(tokenRead.nodeLabel(e))));
return labels.stream()
.collect(Collectors.toMap(e -> e, e -> kernelTx.dataRead().countsForNode(tokenRead.nodeLabel(e))));
}

public static long getSampleForLabelCount(long labelCount, long sample) {
Expand Down

0 comments on commit e9c53e2

Please sign in to comment.