We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7babecf commit 95d8723Copy full SHA for 95d8723
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java
@@ -48,17 +48,13 @@ public class WxMpPayServiceImpl implements WxMpPayService {
48
"REFUND_SOURCE_UNSETTLED_FUNDS"};
49
private final Logger log = LoggerFactory.getLogger(this.getClass());
50
private WxMpService wxMpService;
51
- private WxMpConfigStorage config = null;
52
53
public WxMpPayServiceImpl(WxMpService wxMpService) {
54
this.wxMpService = wxMpService;
55
}
56
57
private WxMpConfigStorage getConfig() {
58
- if (config == null) {
59
- this.config = wxMpService.getWxMpConfigStorage();
60
- }
61
- return this.config;
+ return wxMpService.getWxMpConfigStorage();
62
63
64
@Override
0 commit comments