Skip to content

Commit 81fbe0b

Browse files
chore(deps): update spring-javaformat-checkstyle.version to v0.0.44 (#4269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Stephan Köninger <stephan.koeninger@codecentric.de>
1 parent d45714b commit 81fbe0b

21 files changed

Lines changed: 51 additions & 103 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<flatten-maven-plugin.version>1.7.0</flatten-maven-plugin.version>
7676
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
7777
<checkstyle.version>10.23.1</checkstyle.version>
78-
<spring-javaformat-checkstyle.version>0.0.43</spring-javaformat-checkstyle.version>
78+
<spring-javaformat-checkstyle.version>0.0.44</spring-javaformat-checkstyle.version>
7979
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
8080
<node.version>v22.12.0</node.version>
8181
<jolokia-support-spring.version>2.2.9</jolokia-support-spring.version>

spring-boot-admin-server-ui/src/main/java/de/codecentric/boot/admin/server/ui/extensions/UiExtensionsScanner.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ private String toPattern(String location) {
6969
return location.replace("classpath:", "classpath*:");
7070
}
7171

72-
@Nullable
73-
private String getResourcePath(String location, Resource resource) throws IOException {
72+
@Nullable private String getResourcePath(String location, Resource resource) throws IOException {
7473
String locationWithoutPrefix = location.replaceFirst("^[^:]+:", "");
7574
Matcher m = Pattern.compile(Pattern.quote(locationWithoutPrefix) + "(.+)$")
7675
.matcher(resource.getURI().toString());

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/domain/values/BuildVersion.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public static BuildVersion valueOf(String s) {
4343
return new BuildVersion(s);
4444
}
4545

46-
@Nullable
47-
public static BuildVersion from(Map<String, ?> map) {
46+
@Nullable public static BuildVersion from(Map<String, ?> map) {
4847
if (map.isEmpty()) {
4948
return null;
5049
}

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/DingTalkNotifier.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ public void setWebhookUrl(String webhookUrl) {
136136
this.webhookUrl = webhookUrl;
137137
}
138138

139-
@Nullable
140-
public String getSecret() {
139+
@Nullable public String getSecret() {
141140
return secret;
142141
}
143142

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/DiscordNotifier.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ protected Object createDiscordNotification(InstanceEvent event, Instance instanc
111111
return new HttpEntity<>(body, headers);
112112
}
113113

114-
@Nullable
115-
protected String createContent(InstanceEvent event, Instance instance) {
114+
@Nullable protected String createContent(InstanceEvent event, Instance instance) {
116115
Map<String, Object> root = new HashMap<>();
117116
root.put("event", event);
118117
root.put("instance", instance);
@@ -124,8 +123,7 @@ protected String createContent(InstanceEvent event, Instance instance) {
124123
return message.getValue(context, String.class);
125124
}
126125

127-
@Nullable
128-
public URI getWebhookUrl() {
126+
@Nullable public URI getWebhookUrl() {
129127
return webhookUrl;
130128
}
131129

@@ -141,17 +139,15 @@ public void setTts(boolean tts) {
141139
this.tts = tts;
142140
}
143141

144-
@Nullable
145-
public String getUsername() {
142+
@Nullable public String getUsername() {
146143
return username;
147144
}
148145

149146
public void setUsername(@Nullable String username) {
150147
this.username = username;
151148
}
152149

153-
@Nullable
154-
public String getAvatarUrl() {
150+
@Nullable public String getAvatarUrl() {
155151
return avatarUrl;
156152
}
157153

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/HipchatNotifier.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ protected boolean getNotify() {
115115
return notify;
116116
}
117117

118-
@Nullable
119-
protected String getMessage(InstanceEvent event, Instance instance) {
118+
@Nullable protected String getMessage(InstanceEvent event, Instance instance) {
120119
Map<String, Object> root = new HashMap<>();
121120
root.put("event", event);
122121
root.put("instance", instance);
@@ -138,26 +137,23 @@ protected String getColor(InstanceEvent event) {
138137
}
139138
}
140139

141-
@Nullable
142-
public URI getUrl() {
140+
@Nullable public URI getUrl() {
143141
return url;
144142
}
145143

146144
public void setUrl(@Nullable URI url) {
147145
this.url = url;
148146
}
149147

150-
@Nullable
151-
public String getAuthToken() {
148+
@Nullable public String getAuthToken() {
152149
return authToken;
153150
}
154151

155152
public void setAuthToken(@Nullable String authToken) {
156153
this.authToken = authToken;
157154
}
158155

159-
@Nullable
160-
public String getRoomId() {
156+
@Nullable public String getRoomId() {
161157
return roomId;
162158
}
163159

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/LetsChatNotifier.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ protected Object createMessage(InstanceEvent event, Instance instance) {
113113
return messageJson;
114114
}
115115

116-
@Nullable
117-
protected String getText(InstanceEvent event, Instance instance) {
116+
@Nullable protected String getText(InstanceEvent event, Instance instance) {
118117
Map<String, Object> root = new HashMap<>();
119118
root.put("event", event);
120119
root.put("instance", instance);
@@ -130,8 +129,7 @@ public void setRestTemplate(RestTemplate restTemplate) {
130129
this.restTemplate = restTemplate;
131130
}
132131

133-
@Nullable
134-
public URI getUrl() {
132+
@Nullable public URI getUrl() {
135133
return url;
136134
}
137135

@@ -147,17 +145,15 @@ public void setUsername(String username) {
147145
this.username = username;
148146
}
149147

150-
@Nullable
151-
public String getRoom() {
148+
@Nullable public String getRoom() {
152149
return room;
153150
}
154151

155152
public void setRoom(@Nullable String room) {
156153
this.room = room;
157154
}
158155

159-
@Nullable
160-
public String getToken() {
156+
@Nullable public String getToken() {
161157
return token;
162158
}
163159

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/MailNotifier.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ public void setTemplate(String template) {
150150
this.template = template;
151151
}
152152

153-
@Nullable
154-
public String getBaseUrl() {
153+
@Nullable public String getBaseUrl() {
155154
return baseUrl;
156155
}
157156

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/MicrosoftTeamsNotifier.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ protected EvaluationContext createEvaluationContext(InstanceEvent event, Instanc
226226
.build();
227227
}
228228

229-
@Nullable
230-
public URI getWebhookUrl() {
229+
@Nullable public URI getWebhookUrl() {
231230
return webhookUrl;
232231
}
233232

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/OpsGenieNotifier.java

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ protected String generateAlias(Instance instance) {
166166
return instance.getRegistration().getName() + "_" + instance.getId();
167167
}
168168

169-
@Nullable
170-
protected String getMessage(InstanceEvent event, Instance instance) {
169+
@Nullable protected String getMessage(InstanceEvent event, Instance instance) {
171170
Map<String, Object> root = new HashMap<>();
172171
root.put("event", event);
173172
root.put("instance", instance);
@@ -185,8 +184,7 @@ protected String getDescription(InstanceEvent event, Instance instance) {
185184
((InstanceStatusChangedEvent) event).getStatusInfo().getStatus());
186185
}
187186

188-
@Nullable
189-
public String getApiKey() {
187+
@Nullable public String getApiKey() {
190188
return apiKey;
191189
}
192190

@@ -206,44 +204,39 @@ public void setRestTemplate(RestTemplate restTemplate) {
206204
this.restTemplate = restTemplate;
207205
}
208206

209-
@Nullable
210-
public String getActions() {
207+
@Nullable public String getActions() {
211208
return actions;
212209
}
213210

214211
public void setActions(@Nullable String actions) {
215212
this.actions = actions;
216213
}
217214

218-
@Nullable
219-
public String getSource() {
215+
@Nullable public String getSource() {
220216
return source;
221217
}
222218

223219
public void setSource(@Nullable String source) {
224220
this.source = source;
225221
}
226222

227-
@Nullable
228-
public String getTags() {
223+
@Nullable public String getTags() {
229224
return tags;
230225
}
231226

232227
public void setTags(@Nullable String tags) {
233228
this.tags = tags;
234229
}
235230

236-
@Nullable
237-
public String getEntity() {
231+
@Nullable public String getEntity() {
238232
return entity;
239233
}
240234

241235
public void setEntity(@Nullable String entity) {
242236
this.entity = entity;
243237
}
244238

245-
@Nullable
246-
public String getUser() {
239+
@Nullable public String getUser() {
247240
return user;
248241
}
249242

0 commit comments

Comments
 (0)