From e536e9e3d69e5c6784448b37ee4723e10d700e52 Mon Sep 17 00:00:00 2001 From: Nate Bauernfeind Date: Thu, 31 Oct 2024 14:35:02 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ryan Caudy --- .../extensions/barrage/util/PythonTableDataService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/PythonTableDataService.java b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/PythonTableDataService.java index d36e23831d5..64c684371c2 100644 --- a/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/PythonTableDataService.java +++ b/extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/PythonTableDataService.java @@ -962,10 +962,10 @@ private static class AsyncState { public synchronized void setResult(final T result) { if (this.result != null) { - throw new IllegalStateException("callback can only be called once"); + throw new IllegalStateException("Callback can only be called once"); } if (result == null) { - throw new IllegalArgumentException("callback invoked with null result"); + throw new IllegalArgumentException("Callback invoked with null result"); } this.result = result; notifyAll();