From e9c53e2e7f15aea94f10175e25726d4425e48f78 Mon Sep 17 00:00:00 2001 From: Love Leifland Date: Tue, 23 Jan 2024 14:04:20 +0100 Subject: [PATCH] [NOID] Code style --- core/src/main/java/apoc/meta/Meta.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/apoc/meta/Meta.java b/core/src/main/java/apoc/meta/Meta.java index fe28a5f6e..bb2119d88 100644 --- a/core/src/main/java/apoc/meta/Meta.java +++ b/core/src/main/java/apoc/meta/Meta.java @@ -681,8 +681,8 @@ private static Map getLabelCountStore(Transaction tx, KernelTransa List 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) {