From 457a43747307fa154365176f87657bf39748f940 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Tue, 14 Nov 2023 14:51:59 -0600 Subject: [PATCH] Better worded error for popup message, spotless --- .../src/main/java/io/deephaven/web/client/api/JsTable.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java index 55fd13591ab..c31ac023a4f 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/JsTable.java @@ -1436,8 +1436,9 @@ public Promise partitionBy(Object keys, @JsOptional Boolean @JsMethod public Promise getColumnStatistics(Column column) { if (column.getDescription() != null && column.getDescription().startsWith("Preview of type")) { - // TODO (deephaven-core#188) Remove this workaround when we don't preview columns until just before subscription - return Promise.reject("Can't produce column stats for preview column"); + // TODO (deephaven-core#188) Remove this workaround when we don't preview columns until just before + // subscription + return Promise.reject("Can't produce column statistics for preview column"); } List toRelease = new ArrayList<>(); return workerConnection.newState((c, state, metadata) -> {