From bfc0b0759335a414caaad669f345ad227f54da10 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Tue, 17 Sep 2024 16:51:15 -0500 Subject: [PATCH] spotless --- .../AbstractTableSubscription.java | 2 +- .../web/shared/data/RangeSetTest.java | 29 +++++++++---------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/AbstractTableSubscription.java b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/AbstractTableSubscription.java index de8c79babc2..55ea471c752 100644 --- a/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/AbstractTableSubscription.java +++ b/web/client-api/src/main/java/io/deephaven/web/client/api/subscription/AbstractTableSubscription.java @@ -334,7 +334,7 @@ public JsRangeSet getFullIndex() { @TsIgnore public static class ViewportEventData extends SubscriptionEventData { public ViewportEventData(WebBarrageSubscription subscription, int rowStyleColumn, JsArray columns, - RangeSet added, RangeSet removed, RangeSet modified, ShiftedRange[] shifted) { + RangeSet added, RangeSet removed, RangeSet modified, ShiftedRange[] shifted) { super(subscription, rowStyleColumn, columns, added, removed, modified, shifted); } diff --git a/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java b/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java index 6de17fe4077..1bf1f23bff8 100644 --- a/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java +++ b/web/shared-beans/src/test/java/io/deephaven/web/shared/data/RangeSetTest.java @@ -647,21 +647,20 @@ public void testInvert() { assertEquals(RangeSet.ofItems(1, 2, 3), r.invert(RangeSet.ofItems(5, 7, 9))); RangeSet positions = RangeSet.ofItems(18, 37, 83, 88); - RangeSet keys = RangeSet.fromSortedRanges(new Range[]{ - new Range(1073739467, 1073739511), new Range(1073739568, 1073739639), new Range(1073739700, 1073739767), - new Range(1073739828, 1073739895), new Range(1073739956, 1073740023), new Range(1073740083, 1073740151), - new Range(1073740214, 1073740279), new Range(1073740342, 1073740407), new Range(1073740464, 1073740535), - new Range(1073740597, 1073740663), new Range(1073740725, 1073740791), new Range(1073740851, 1073740924), - new Range(1073740937, 1073741052), new Range(1073741063, 1073741180), new Range(1073741189, 1073741308), - new Range(1073741310, 1073741436), new Range(1073741440, 1073741564), new Range(1073741569, 1073741692), - new Range(1073741696, 1073741948), new Range(1073741968, 1073742065), new Range(1073742096, 1073742184), - new Range(1073742224, 1073742325), new Range(1073742352, 1073742454), new Range(1073742480, 1073742579), - new Range(1073742608, 1073742702), new Range(1073742736, 1073742840), new Range(1073742864, 1073742967), - new Range(1073742992, 1073743084), new Range(1073743120, 1073743218), new Range(1073743248, 1073743348), - new Range(1073743376, 1073743465), new Range(1073743504, 1073743597), new Range(1073743632, 1073743741), - new Range(1073743760, 1073743869), new Range(1073743888, 1073743912) - } - ); + RangeSet keys = RangeSet.fromSortedRanges(new Range[] { + new Range(1073739467, 1073739511), new Range(1073739568, 1073739639), new Range(1073739700, 1073739767), + new Range(1073739828, 1073739895), new Range(1073739956, 1073740023), new Range(1073740083, 1073740151), + new Range(1073740214, 1073740279), new Range(1073740342, 1073740407), new Range(1073740464, 1073740535), + new Range(1073740597, 1073740663), new Range(1073740725, 1073740791), new Range(1073740851, 1073740924), + new Range(1073740937, 1073741052), new Range(1073741063, 1073741180), new Range(1073741189, 1073741308), + new Range(1073741310, 1073741436), new Range(1073741440, 1073741564), new Range(1073741569, 1073741692), + new Range(1073741696, 1073741948), new Range(1073741968, 1073742065), new Range(1073742096, 1073742184), + new Range(1073742224, 1073742325), new Range(1073742352, 1073742454), new Range(1073742480, 1073742579), + new Range(1073742608, 1073742702), new Range(1073742736, 1073742840), new Range(1073742864, 1073742967), + new Range(1073742992, 1073743084), new Range(1073743120, 1073743218), new Range(1073743248, 1073743348), + new Range(1073743376, 1073743465), new Range(1073743504, 1073743597), new Range(1073743632, 1073743741), + new Range(1073743760, 1073743869), new Range(1073743888, 1073743912) + }); RangeSet selected = RangeSet.ofItems(1073739485, 1073739504, 1073739606, 1073739611); PrimitiveIterator.OfLong selectedIter = selected.indexIterator(); PrimitiveIterator.OfLong positionsIter = positions.indexIterator();