|
@@ -84,6 +84,9 @@ public class LocationManager {
|
|
if (!cacheConfig.isEffective()){
|
|
if (!cacheConfig.isEffective()){
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if (url==null || url.length()==0 || location==null){
|
|
|
|
+ return ;
|
|
|
|
+ }
|
|
/*
|
|
/*
|
|
* type
|
|
* type
|
|
* 0,表示内存缓存
|
|
* 0,表示内存缓存
|
|
@@ -119,6 +122,9 @@ public class LocationManager {
|
|
if (!cacheConfig.isEffective()){
|
|
if (!cacheConfig.isEffective()){
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+ if (url==null || url.length()==0){
|
|
|
|
+ return 0;
|
|
|
|
+ }
|
|
/*
|
|
/*
|
|
* type
|
|
* type
|
|
* 0,表示内存缓存
|
|
* 0,表示内存缓存
|
|
@@ -159,6 +165,9 @@ public class LocationManager {
|
|
if (!cacheConfig.isEffective()){
|
|
if (!cacheConfig.isEffective()){
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ if (url==null || url.length()==0){
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
/*
|
|
/*
|
|
* type
|
|
* type
|
|
* 0,表示内存缓存
|
|
* 0,表示内存缓存
|
|
@@ -187,6 +196,9 @@ public class LocationManager {
|
|
if (!cacheConfig.isEffective()){
|
|
if (!cacheConfig.isEffective()){
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ if (url==null || url.length()==0){
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
/*
|
|
/*
|
|
* type
|
|
* type
|
|
* 0,表示内存缓存
|
|
* 0,表示内存缓存
|