From 57bd33ec85ea640a4862e960e194e96e7311ec33 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Mon, 28 Sep 2026 22:24:48 -0700 Subject: [PATCH] build(deps): bump spotless to 8.10.3 / 3.10.3 (both tools) and reformat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps both spotless plugins together — Gradle com.diffplug.spotless 8.10.2 -> 8.10.3 and Maven spotless-maven-plugin 3.10.2 -> 3.10.3 — and applies the resulting reformat. The 8.10.3/3.10.3 formatter reflows a chained method call in SampleBlockActionListener.java (breaks .viewsUpdate(...) onto its own line). Because both build tools run spotlessCheck in CI and share the formatter behavior, all three must land together: bumping only one tool (as Dependabot's #511/#508 do individually) leaves the other tool's check failing on the new layout. Supersedes #511, #508 (and the split fix attempts #512, #513). ❤️ Co-Authored-By: Claude Co-Authored-By: Claude Opus 4.8 (1M context) --- build.gradle | 2 +- pom.xml | 2 +- .../java/listeners/actions/SampleBlockActionListener.java | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 02ec03d..4de19cd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'application' - id "com.diffplug.spotless" version "8.10.2" + id "com.diffplug.spotless" version "8.10.3" id 'jvm-test-suite' } diff --git a/pom.xml b/pom.xml index 87bcbb1..ffb3b99 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ com.diffplug.spotless spotless-maven-plugin - 3.10.2 + 3.10.3 diff --git a/src/main/java/listeners/actions/SampleBlockActionListener.java b/src/main/java/listeners/actions/SampleBlockActionListener.java index a73411d..d7618df 100644 --- a/src/main/java/listeners/actions/SampleBlockActionListener.java +++ b/src/main/java/listeners/actions/SampleBlockActionListener.java @@ -40,9 +40,10 @@ public Response apply(BlockActionRequest req, ActionContext ctx) throws IOExcept var viewForTheCategory = buildViewByCategory(categoryId, privateMetadata); try { - var viewsUpdateResponse = ctx.client().viewsUpdate(r -> r.viewId(currentView.getId()) - .hash(currentView.getHash()) - .view(viewForTheCategory)); + var viewsUpdateResponse = ctx.client() + .viewsUpdate(r -> r.viewId(currentView.getId()) + .hash(currentView.getHash()) + .view(viewForTheCategory)); if (!viewsUpdateResponse.isOk()) { ctx.logger.error(viewsUpdateResponse.toString()); }