Skip to content

Commit 76e1da5

Browse files
committed
add missing @OverRide annotation
1 parent 473feaf commit 76e1da5

File tree

45 files changed

+53
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+53
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/WxMpInMemoryConfigStorage.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ public void setOauth2redirectUri(String oauth2redirectUri) {
191191
this.oauth2redirectUri = oauth2redirectUri;
192192
}
193193

194+
@Override
194195
public String getHttpProxyHost() {
195196
return this.httpProxyHost;
196197
}
@@ -199,6 +200,7 @@ public void setHttpProxyHost(String httpProxyHost) {
199200
this.httpProxyHost = httpProxyHost;
200201
}
201202

203+
@Override
202204
public int getHttpProxyPort() {
203205
return this.httpProxyPort;
204206
}
@@ -207,6 +209,7 @@ public void setHttpProxyPort(int httpProxyPort) {
207209
this.httpProxyPort = httpProxyPort;
208210
}
209211

212+
@Override
210213
public String getHttpProxyUsername() {
211214
return this.httpProxyUsername;
212215
}
@@ -215,6 +218,7 @@ public void setHttpProxyUsername(String httpProxyUsername) {
215218
this.httpProxyUsername = httpProxyUsername;
216219
}
217220

221+
@Override
218222
public String getHttpProxyPassword() {
219223
return this.httpProxyPassword;
220224
}

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/WxMpMessageRouter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public WxMpXmlOutMessage route(final WxMpXmlMessage wxMessage) {
161161
if(rule.isAsync()) {
162162
futures.add(
163163
executorService.submit(new Runnable() {
164+
@Override
164165
public void run() {
165166
rule.service(wxMessage, wxMpService, sessionManager, exceptionHandler);
166167
}

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/custombuilder/ImageBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public ImageBuilder mediaId(String media_id) {
2323
return this;
2424
}
2525

26+
@Override
2627
public WxMpCustomMessage build() {
2728
WxMpCustomMessage m = super.build();
2829
m.setMediaId(this.mediaId);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/custombuilder/MusicBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public MusicBuilder thumbMediaId(String thumb_media_id) {
5252
return this;
5353
}
5454

55+
@Override
5556
public WxMpCustomMessage build() {
5657
WxMpCustomMessage m = super.build();
5758
m.setMusicUrl(this.musicUrl);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/custombuilder/NewsBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public NewsBuilder addArticle(WxMpCustomMessage.WxArticle article) {
2828
return this;
2929
}
3030

31+
@Override
3132
public WxMpCustomMessage build() {
3233
WxMpCustomMessage m = super.build();
3334
m.setArticles(this.articles);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/custombuilder/TextBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public TextBuilder content(String content) {
2323
return this;
2424
}
2525

26+
@Override
2627
public WxMpCustomMessage build() {
2728
WxMpCustomMessage m = super.build();
2829
m.setContent(this.content);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/custombuilder/VideoBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public VideoBuilder thumbMediaId(String thumb_media_id) {
4747
return this;
4848
}
4949

50+
@Override
5051
public WxMpCustomMessage build() {
5152
WxMpCustomMessage m = super.build();
5253
m.setMediaId(this.mediaId);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/custombuilder/VoiceBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public VoiceBuilder mediaId(String media_id) {
2323
return this;
2424
}
2525

26+
@Override
2627
public WxMpCustomMessage build() {
2728
WxMpCustomMessage m = super.build();
2829
m.setMediaId(this.mediaId);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/outxmlbuilder/ImageBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public ImageBuilder mediaId(String media_id) {
1515
return this;
1616
}
1717

18+
@Override
1819
public WxMpXmlOutImageMessage build() {
1920
WxMpXmlOutImageMessage m = new WxMpXmlOutImageMessage();
2021
setCommon(m);

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/outxmlbuilder/MusicBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public MusicBuilder thumbMediaId(String thumbMediaId) {
4040
return this;
4141
}
4242

43+
@Override
4344
public WxMpXmlOutMusicMessage build() {
4445
WxMpXmlOutMusicMessage m = new WxMpXmlOutMusicMessage();
4546
setCommon(m);

0 commit comments

Comments
 (0)