Skip to content

Commit

Permalink
change setHostScheme
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Nov 16, 2023
1 parent fe832a3 commit 16d92e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static String removeHostScheme(String host) {
* 如果 host 不包含 scheme 则按照 useHttps 增加 scheme
*/
public static String setHostScheme(String host, boolean useHttps) {
if (host == null || StringUtils.isNullOrEmpty(host)) {
if (StringUtils.isNullOrEmpty(host)) {
return null;
}

Expand Down

0 comments on commit 16d92e0

Please sign in to comment.