Sync with L2jServer HighFive Jul 30th 2015.

This commit is contained in:
MobiusDev
2015-07-30 20:47:48 +00:00
parent b3531f47c1
commit 6185db8d5f
27 changed files with 252 additions and 258 deletions

View File

@ -38,7 +38,7 @@ public class HtmCache
{
private static final Logger _log = Logger.getLogger(HtmCache.class.getName());
private static final HTMLFilter htmlFilter = new HTMLFilter();
private static final HTMLFilter HTML_FILTER = new HTMLFilter();
private static final Map<String, String> _cache = Config.LAZY_CACHE ? new ConcurrentHashMap<>() : new HashMap<>();
@ -109,7 +109,7 @@ public class HtmCache
public String loadFile(File file)
{
if (!htmlFilter.accept(file))
if (!HTML_FILTER.accept(file))
{
return null;
}
@ -205,7 +205,7 @@ public class HtmCache
*/
public boolean isLoadable(String path)
{
return htmlFilter.accept(new File(Config.DATAPACK_ROOT, path));
return HTML_FILTER.accept(new File(Config.DATAPACK_ROOT, path));
}
public static HtmCache getInstance()