Skip to content

chore(deps): update spring-javaformat-checkstyle.version to v0.0.45 #4288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<flatten-maven-plugin.version>1.7.0</flatten-maven-plugin.version>
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
<checkstyle.version>10.24.0</checkstyle.version>
<spring-javaformat-checkstyle.version>0.0.44</spring-javaformat-checkstyle.version>
<spring-javaformat-checkstyle.version>0.0.45</spring-javaformat-checkstyle.version>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
<node.version>v22.12.0</node.version>
<jolokia-support-spring.version>2.2.9</jolokia-support-spring.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ private String toPattern(String location) {
return location.replace("classpath:", "classpath*:");
}

@Nullable private String getResourcePath(String location, Resource resource) throws IOException {
@Nullable
private String getResourcePath(String location, Resource resource) throws IOException {
String locationWithoutPrefix = location.replaceFirst("^[^:]+:", "");
Matcher m = Pattern.compile(Pattern.quote(locationWithoutPrefix) + "(.+)$")
.matcher(resource.getURI().toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public static BuildVersion valueOf(String s) {
return new BuildVersion(s);
}

@Nullable public static BuildVersion from(Map<String, ?> map) {
@Nullable
public static BuildVersion from(Map<String, ?> map) {
if (map.isEmpty()) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ public void setWebhookUrl(String webhookUrl) {
this.webhookUrl = webhookUrl;
}

@Nullable public String getSecret() {
@Nullable
public String getSecret() {
return secret;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ protected Object createDiscordNotification(InstanceEvent event, Instance instanc
return new HttpEntity<>(body, headers);
}

@Nullable protected String createContent(InstanceEvent event, Instance instance) {
@Nullable
protected String createContent(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("event", event);
root.put("instance", instance);
Expand All @@ -123,7 +124,8 @@ protected Object createDiscordNotification(InstanceEvent event, Instance instanc
return message.getValue(context, String.class);
}

@Nullable public URI getWebhookUrl() {
@Nullable
public URI getWebhookUrl() {
return webhookUrl;
}

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

@Nullable public String getUsername() {
@Nullable
public String getUsername() {
return username;
}

public void setUsername(@Nullable String username) {
this.username = username;
}

@Nullable public String getAvatarUrl() {
@Nullable
public String getAvatarUrl() {
return avatarUrl;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ protected boolean getNotify() {
return notify;
}

@Nullable protected String getMessage(InstanceEvent event, Instance instance) {
@Nullable
protected String getMessage(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("event", event);
root.put("instance", instance);
Expand All @@ -137,23 +138,26 @@ protected String getColor(InstanceEvent event) {
}
}

@Nullable public URI getUrl() {
@Nullable
public URI getUrl() {
return url;
}

public void setUrl(@Nullable URI url) {
this.url = url;
}

@Nullable public String getAuthToken() {
@Nullable
public String getAuthToken() {
return authToken;
}

public void setAuthToken(@Nullable String authToken) {
this.authToken = authToken;
}

@Nullable public String getRoomId() {
@Nullable
public String getRoomId() {
return roomId;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ protected Object createMessage(InstanceEvent event, Instance instance) {
return messageJson;
}

@Nullable protected String getText(InstanceEvent event, Instance instance) {
@Nullable
protected String getText(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("event", event);
root.put("instance", instance);
Expand All @@ -129,7 +130,8 @@ public void setRestTemplate(RestTemplate restTemplate) {
this.restTemplate = restTemplate;
}

@Nullable public URI getUrl() {
@Nullable
public URI getUrl() {
return url;
}

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

@Nullable public String getRoom() {
@Nullable
public String getRoom() {
return room;
}

public void setRoom(@Nullable String room) {
this.room = room;
}

@Nullable public String getToken() {
@Nullable
public String getToken() {
return token;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ public void setTemplate(String template) {
this.template = template;
}

@Nullable public String getBaseUrl() {
@Nullable
public String getBaseUrl() {
return baseUrl;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ protected EvaluationContext createEvaluationContext(InstanceEvent event, Instanc
.build();
}

@Nullable public URI getWebhookUrl() {
@Nullable
public URI getWebhookUrl() {
return webhookUrl;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ protected String generateAlias(Instance instance) {
return instance.getRegistration().getName() + "_" + instance.getId();
}

@Nullable protected String getMessage(InstanceEvent event, Instance instance) {
@Nullable
protected String getMessage(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("event", event);
root.put("instance", instance);
Expand All @@ -184,7 +185,8 @@ protected String getDescription(InstanceEvent event, Instance instance) {
((InstanceStatusChangedEvent) event).getStatusInfo().getStatus());
}

@Nullable public String getApiKey() {
@Nullable
public String getApiKey() {
return apiKey;
}

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

@Nullable public String getActions() {
@Nullable
public String getActions() {
return actions;
}

public void setActions(@Nullable String actions) {
this.actions = actions;
}

@Nullable public String getSource() {
@Nullable
public String getSource() {
return source;
}

public void setSource(@Nullable String source) {
this.source = source;
}

@Nullable public String getTags() {
@Nullable
public String getTags() {
return tags;
}

public void setTags(@Nullable String tags) {
this.tags = tags;
}

@Nullable public String getEntity() {
@Nullable
public String getEntity() {
return entity;
}

public void setEntity(@Nullable String entity) {
this.entity = entity;
}

@Nullable public String getUser() {
@Nullable
public String getUser() {
return user;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ protected Map<String, Object> createPagerdutyEvent(InstanceEvent event, Instance
return result;
}

@Nullable protected String getDescription(InstanceEvent event, Instance instance) {
@Nullable
protected String getDescription(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("event", event);
root.put("instance", instance);
Expand Down Expand Up @@ -155,23 +156,26 @@ public void setUrl(URI url) {
this.url = url;
}

@Nullable public String getClient() {
@Nullable
public String getClient() {
return client;
}

public void setClient(@Nullable String client) {
this.client = client;
}

@Nullable public URI getClientUrl() {
@Nullable
public URI getClientUrl() {
return clientUrl;
}

public void setClientUrl(@Nullable URI clientUrl) {
this.clientUrl = clientUrl;
}

@Nullable public String getServiceKey() {
@Nullable
public String getServiceKey() {
return serviceKey;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ protected Object createMessage(InstanceEvent event, Instance instance) {
return messageJson;
}

@Nullable protected String getText(InstanceEvent event, Instance instance) {
@Nullable
protected String getText(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("roomId", roomId);
root.put("event", event);
Expand All @@ -128,31 +129,35 @@ public void setRestTemplate(RestTemplate restTemplate) {
this.restTemplate = restTemplate;
}

@Nullable public String getUrl() {
@Nullable
public String getUrl() {
return url;
}

public void setUrl(String url) {
this.url = url;
}

@Nullable public String getRoomId() {
@Nullable
public String getRoomId() {
return roomId;
}

public void setRoomId(String roomId) {
this.roomId = roomId;
}

@Nullable public String getToken() {
@Nullable
public String getToken() {
return token;
}

public void setToken(String token) {
this.token = token;
}

@Nullable public String getUserId() {
@Nullable
public String getUserId() {
return userId;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ protected Object createMessage(InstanceEvent event, Instance instance) {
return new HttpEntity<>(messageJson, headers);
}

@Nullable protected String getText(InstanceEvent event, Instance instance) {
@Nullable
protected String getText(InstanceEvent event, Instance instance) {
Map<String, Object> root = new HashMap<>();
root.put("event", event);
root.put("instance", instance);
Expand All @@ -145,31 +146,35 @@ protected String getColor(InstanceEvent event) {
}
}

@Nullable public URI getWebhookUrl() {
@Nullable
public URI getWebhookUrl() {
return webhookUrl;
}

public void setWebhookUrl(@Nullable URI webhookUrl) {
this.webhookUrl = webhookUrl;
}

@Nullable public String getChannel() {
@Nullable
public String getChannel() {
return channel;
}

public void setChannel(@Nullable String channel) {
this.channel = channel;
}

@Nullable public String getIcon() {
@Nullable
public String getIcon() {
return icon;
}

public void setIcon(@Nullable String icon) {
this.icon = icon;
}

@Nullable public String getUsername() {
@Nullable
public String getUsername() {
return username;
}

Expand Down
Loading
Loading