refactor: Use diamond operator

This commit is contained in:
Kyle Scully
2021-10-12 23:06:39 -07:00
committed by GitHub
parent fddb2f7a18
commit 0bcba32ea4
4 changed files with 12 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ public class WxOpenMessageRouter extends WxMpMessageRouter {
}
public WxMpXmlOutMessage route(final WxMpXmlMessage wxMessage, String appId) {
return route(wxMessage, new HashMap<String, Object>(), appId);
return route(wxMessage, new HashMap<>(), appId);
}
public WxMpXmlOutMessage route(final WxMpXmlMessage wxMessage, final Map<String, Object> context, String appId) {