X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmircoders%2Fglobal%2FMRUCache.java;h=f3722eb1e80c737cd78ed65c9fe012c1d977170f;hb=63e0ee1fb8038eb6d8f0190cf38c3b3ab2727216;hp=bdd6921e3ad239f2e71179b2dd2fe42da53c6a85;hpb=8b91e8d8bf4a31a88440a404e83238dcf32f8f4a;p=mir.git diff --git a/source/mircoders/global/MRUCache.java b/source/mircoders/global/MRUCache.java index bdd6921e..f3722eb1 100755 --- a/source/mircoders/global/MRUCache.java +++ b/source/mircoders/global/MRUCache.java @@ -48,12 +48,7 @@ public class MRUCache { public MRUCache() { logger = new LoggerWrapper("Global.MRUCache"); - try { - configuration = MirPropertiesConfiguration.instance(); - } - catch (PropertiesConfigExc e) { - throw new RuntimeException("Can't get configuration: " + e.getMessage()); - } + configuration = MirPropertiesConfiguration.instance(); cacheMaxItems=Integer.parseInt(configuration.getString("Global.Cache.Items")); cache = new HashMap(); mruList= new LinkedList();