Skip to content

Commit 14fe327

Browse files
chore: update linter to the latest and format code (#1473)
* chore: update linter to the latest Follows from googleapis/java-shared-config#1003 * chore: format files
1 parent ec1a4d9 commit 14fe327

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/setup-java@v4
105105
with:
106106
distribution: temurin
107-
java-version: 11
107+
java-version: 17
108108
- run: java -version
109109
- run: .kokoro/build.sh
110110
env:

.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test)
5252
RETURN_CODE=$?
5353
;;
5454
lint)
55-
mvn com.coveo:fmt-maven-plugin:check -B -ntp
55+
mvn com.spotify.fmt:fmt-maven-plugin:check -B -ntp
5656
RETURN_CODE=$?
5757
;;
5858
javadoc)

src/main/java/com/google/cloud/logging/logback/LoggingAppender.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -538,19 +538,19 @@ static void writeStack(IThrowableProxy throwProxy, String prefix, StringBuilder
538538
*/
539539
private static Severity severityFor(Level level) {
540540
switch (level.toInt()) {
541-
// TRACE
541+
// TRACE
542542
case 5000:
543543
return Severity.DEBUG;
544-
// DEBUG
544+
// DEBUG
545545
case 10000:
546546
return Severity.DEBUG;
547-
// INFO
547+
// INFO
548548
case 20000:
549549
return Severity.INFO;
550-
// WARNING
550+
// WARNING
551551
case 30000:
552552
return Severity.WARNING;
553-
// ERROR
553+
// ERROR
554554
case 40000:
555555
return Severity.ERROR;
556556
default:

0 commit comments

Comments
 (0)