mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2025-09-05 22:16:57 +00:00
@ -141,11 +141,11 @@ public class RepositoryManager {
|
||||
final String repocache = config.getString("repocache");
|
||||
final String plugincache = config.getString("plugincache");
|
||||
try {
|
||||
if (!repocache.isEmpty()) {
|
||||
if (repocache != null && !repocache.isEmpty()) {
|
||||
repos = gson.fromJson(repocache, new TypeToken<List<String>>() {
|
||||
}.getType());
|
||||
}
|
||||
if (!plugincache.isEmpty()) {
|
||||
if (plugincache != null && !plugincache.isEmpty()) {
|
||||
plugins = gson.fromJson(plugincache, new TypeToken<HashMap<String, PluginInfo>>() {
|
||||
}.getType());
|
||||
}
|
||||
|
Reference in New Issue
Block a user