From 6a433fa724ec2e7b240f4d910f8548bad8dff723 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:38:26 -0500 Subject: [PATCH] [PF-2983]: Bump com.diffplug.spotless from 6.25.0 to 7.0.2 (#219) * [PF-2983]: Bump com.diffplug.spotless from 6.25.0 to 7.0.2 Bumps com.diffplug.spotless from 6.25.0 to 7.0.2. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Update test.yml * Update develop-push.yml * apply spotless lint after updating the spotless bump --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dvoet Co-authored-by: Phil Shapiro Co-authored-by: Jose Soto --- build.gradle | 2 +- .../bio/terra/common/sam/exception/SamExceptionFactory.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index b69a1b2c..95557922 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'java-library' id 'maven-publish' - id 'com.diffplug.spotless' version '6.25.0' + id 'com.diffplug.spotless' version '7.0.2' id 'com.github.ben-manes.versions' version '0.51.0' id 'com.jfrog.artifactory' version '5.2.5' id 'org.sonarqube' version '6.0.1.5171' diff --git a/src/main/java/bio/terra/common/sam/exception/SamExceptionFactory.java b/src/main/java/bio/terra/common/sam/exception/SamExceptionFactory.java index 4cb0c608..6a85d7d0 100644 --- a/src/main/java/bio/terra/common/sam/exception/SamExceptionFactory.java +++ b/src/main/java/bio/terra/common/sam/exception/SamExceptionFactory.java @@ -65,8 +65,8 @@ public static ErrorReportException create(String messagePrefix, ApiException api return new SamConflictException(message, apiException); case HttpStatus.SC_INTERNAL_SERVER_ERROR: return new SamInternalServerErrorException(message, apiException); - // note that SAM does not use a 501 NOT_IMPLEMENTED status code, so that case is skipped - // here + // note that SAM does not use a 501 NOT_IMPLEMENTED status code, so that case is skipped + // here default: logger.warn("Got an unexpected response code from Sam: " + apiException); return new SamInternalServerErrorException(message, apiException);