🎨 modifier order

This commit is contained in:
Kyle Scully 2021-10-23 08:26:45 -07:00 committed by GitHub
parent a2042dd7c2
commit 44e4ee4416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 20 deletions

View File

@ -18,7 +18,7 @@ import java.util.Map;
*/ */
public class WxDnsResolver implements DnsResolver { public class WxDnsResolver implements DnsResolver {
private final static String WECHAT_API_URL = "api.weixin.qq.com"; private static final String WECHAT_API_URL = "api.weixin.qq.com";
private static Map<String, InetAddress[]> MAPPINGS = new HashMap<>(); private static Map<String, InetAddress[]> MAPPINGS = new HashMap<>();
protected final Logger log = LoggerFactory.getLogger(WxDnsResolver.class); protected final Logger log = LoggerFactory.getLogger(WxDnsResolver.class);
private String wxApiIp; private String wxApiIp;

View File

@ -20,19 +20,19 @@ public class WxCpRedissonConfigImpl extends WxCpDefaultConfigImpl {
/** /**
* The constant LOCK_KEY. * The constant LOCK_KEY.
*/ */
protected final static String LOCK_KEY = "wechat_cp_lock:"; protected static final String LOCK_KEY = "wechat_cp_lock:";
/** /**
* The constant CP_ACCESS_TOKEN_KEY. * The constant CP_ACCESS_TOKEN_KEY.
*/ */
protected final static String CP_ACCESS_TOKEN_KEY = "wechat_cp_access_token_key:"; protected static final String CP_ACCESS_TOKEN_KEY = "wechat_cp_access_token_key:";
/** /**
* The constant CP_JSAPI_TICKET_KEY. * The constant CP_JSAPI_TICKET_KEY.
*/ */
protected final static String CP_JSAPI_TICKET_KEY = "wechat_cp_jsapi_ticket_key:"; protected static final String CP_JSAPI_TICKET_KEY = "wechat_cp_jsapi_ticket_key:";
/** /**
* The constant CP_AGENT_JSAPI_TICKET_KEY. * The constant CP_AGENT_JSAPI_TICKET_KEY.
*/ */
protected final static String CP_AGENT_JSAPI_TICKET_KEY = "wechat_cp_agent_jsapi_ticket_key:"; protected static final String CP_AGENT_JSAPI_TICKET_KEY = "wechat_cp_agent_jsapi_ticket_key:";
private final WxRedisOps redisOps; private final WxRedisOps redisOps;
/** /**
* redis 存储的 key 的前缀可为空 * redis 存储的 key 的前缀可为空

View File

@ -18,10 +18,10 @@ import java.util.concurrent.locks.Lock;
*/ */
public class WxMaRedissonConfigImpl extends WxMaDefaultConfigImpl { public class WxMaRedissonConfigImpl extends WxMaDefaultConfigImpl {
protected final static String LOCK_KEY = "wechat_ma_lock:"; protected static final String LOCK_KEY = "wechat_ma_lock:";
protected final static String MA_ACCESS_TOKEN_KEY = "wechat_ma_access_token_key:"; protected static final String MA_ACCESS_TOKEN_KEY = "wechat_ma_access_token_key:";
protected final static String MA_JSAPI_TICKET_KEY = "wechat_ma_jsapi_ticket_key:"; protected static final String MA_JSAPI_TICKET_KEY = "wechat_ma_jsapi_ticket_key:";
protected final static String MA_CARD_API_TICKET_KEY = "wechat_ma_card_api_ticket_key:"; protected static final String MA_CARD_API_TICKET_KEY = "wechat_ma_card_api_ticket_key:";
/** /**
* redis 存储的 key 的前缀可为空 * redis 存储的 key 的前缀可为空

View File

@ -7,7 +7,7 @@ package cn.binarywang.wx.miniapp.util;
* @date 2020-08-16 * @date 2020-08-16
*/ */
public class WxMaConfigHolder { public class WxMaConfigHolder {
private final static ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() { private static final ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() {
@Override @Override
protected String initialValue() { protected String initialValue() {
return "default"; return "default";

View File

@ -5,7 +5,7 @@ package me.chanjar.weixin.mp.util;
* @date 2019-03-20 22:06 * @date 2019-03-20 22:06
*/ */
public class WxMpConfigStorageHolder { public class WxMpConfigStorageHolder {
private final static ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() { private static final ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() {
@Override @Override
protected String initialValue() { protected String initialValue() {
return "default"; return "default";

View File

@ -8,16 +8,16 @@ import org.apache.commons.lang3.StringUtils;
* @date 2020/01/09 * @date 2020/01/09
**/ **/
public abstract class AbstractWxOpenInRedisConfigStorage extends WxOpenInMemoryConfigStorage { public abstract class AbstractWxOpenInRedisConfigStorage extends WxOpenInMemoryConfigStorage {
protected final static String COMPONENT_VERIFY_TICKET_KEY = "wechat_component_verify_ticket:"; protected static final String COMPONENT_VERIFY_TICKET_KEY = "wechat_component_verify_ticket:";
protected final static String COMPONENT_ACCESS_TOKEN_KEY = "wechat_component_access_token:"; protected static final String COMPONENT_ACCESS_TOKEN_KEY = "wechat_component_access_token:";
protected final static String AUTHORIZER_REFRESH_TOKEN_KEY = "wechat_authorizer_refresh_token:"; protected static final String AUTHORIZER_REFRESH_TOKEN_KEY = "wechat_authorizer_refresh_token:";
protected final static String AUTHORIZER_ACCESS_TOKEN_KEY = "wechat_authorizer_access_token:"; protected static final String AUTHORIZER_ACCESS_TOKEN_KEY = "wechat_authorizer_access_token:";
protected final static String LOCK_KEY = "wechat_lock:"; protected static final String LOCK_KEY = "wechat_lock:";
protected final static String JSAPI_TICKET_KEY = "wechat_jsapi_ticket:"; protected static final String JSAPI_TICKET_KEY = "wechat_jsapi_ticket:";
protected final static String CARD_API_TICKET_KEY = "wechat_card_api_ticket:"; protected static final String CARD_API_TICKET_KEY = "wechat_card_api_ticket:";
/** /**
* redis 存储的 key 的前缀可为空 * redis 存储的 key 的前缀可为空

View File

@ -322,7 +322,7 @@ public abstract class BaseWxPayRequest implements Serializable {
* *
* @param map 传入的属性Map * @param map 传入的属性Map
*/ */
abstract protected void storeMap(Map<String, String> map); protected abstract void storeMap(Map<String, String> map);
/** /**
* <pre> * <pre>

View File

@ -5,7 +5,7 @@ package me.chanjar.weixin.qidian.util;
* @date 2020年12月26日 * @date 2020年12月26日
*/ */
public class WxQidianConfigStorageHolder { public class WxQidianConfigStorageHolder {
private final static ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() { private static final ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<String>() {
@Override @Override
protected String initialValue() { protected String initialValue() {
return "default"; return "default";