mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-24 02:29:38 +00:00
Make Code Better
This commit is contained in:
1 parent
469c8b62a9
commit
622e834d26
22 files changed
+120
-115
No files matched your search
@@ -15,7 +15,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
public class HttpUtil0 {
|
||||
public static boolean isLocal(String url){
|
||||
return url==null? false : !url.startsWith("http");
|
||||
return url != null && !url.startsWith("http");
|
||||
}
|
||||
|
||||
//From: http://blog.csdn.net/xiyushiyi/article/details/46685387
|
||||
|
||||
Reference in new issue
Block a user