Skip to content

Commit

Permalink
[script,manager] update build version 11, fix pmd error (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored Jan 17, 2023
1 parent 2b7bc5f commit daf467b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Build with Maven
run: mvn -B package --file pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void send(NoticeReceiver receiver, Alert alert) {
FlyBookWebHookDto flyBookWebHookDto = new FlyBookWebHookDto();
Content content = new Content();
Post post = new Post();
zhCn zhCn = new zhCn();
ZhCn zhCn = new ZhCn();
content.setPost(post);
post.setZhCn(zhCn);
flyBookWebHookDto.setMsgType("post");
Expand Down Expand Up @@ -145,11 +145,11 @@ private static class FlyBookContent {
@Data
private static class Post {
@JsonProperty("zh_cn")
public zhCn zhCn;
public ZhCn zhCn;
}

@Data
private static class zhCn {
private static class ZhCn {
/**
* 标题
*/
Expand Down

0 comments on commit daf467b

Please sign in to comment.