Skip to content

Commit d9ce8c1

Browse files
committed
Upgrade Spring JavaFormat to 0.0.34
1 parent 38a87e0 commit d9ce8c1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies {
6262
implementation 'com.apollographql.apollo:apollo-runtime:2.4.5'
6363
implementation 'com.github.ben-manes:gradle-versions-plugin:0.38.0'
6464
implementation 'com.github.spullara.mustache.java:compiler:0.9.10'
65-
implementation 'io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.15'
65+
implementation 'io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.34'
6666
implementation 'io.spring.nohttp:nohttp-gradle:0.0.9'
6767
implementation 'net.sourceforge.htmlunit:htmlunit:2.37.0'
6868
implementation 'org.hidetake:gradle-ssh-plugin:2.10.1'

spring-session-data-mongodb/src/main/java/org/springframework/session/data/mongo/JacksonMongoSessionConverter.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ private static class MongoIdNamingStrategy extends PropertyNamingStrategy.Proper
174174
public String translate(String propertyName) {
175175

176176
switch (propertyName) {
177-
case "id":
178-
return "_id";
179-
case "_id":
180-
return "id";
181-
default:
182-
return propertyName;
177+
case "id":
178+
return "_id";
179+
case "_id":
180+
return "id";
181+
default:
182+
return propertyName;
183183
}
184184
}
185185

0 commit comments

Comments
 (0)