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);