Added missing final modifiers.

This commit is contained in:
MobiusDev
2015-12-26 12:03:36 +00:00
parent cc92e5d062
commit e0d681a17e
974 changed files with 5919 additions and 5917 deletions

View File

@@ -120,13 +120,13 @@ public class HtmCache
BufferedInputStream bis = new BufferedInputStream(fis))
{
final int bytes = bis.available();
byte[] raw = new byte[bytes];
final byte[] raw = new byte[bytes];
bis.read(raw);
content = new String(raw, "UTF-8");
content = content.replaceAll("(?s)<!--.*?-->", ""); // Remove html comments
String oldContent = _cache.put(relpath, content);
final String oldContent = _cache.put(relpath, content);
if (oldContent == null)
{
_bytesBuffLen += bytes;

View File

@@ -53,7 +53,7 @@ public class WarehouseCacheManager
@Override
public void run()
{
long cTime = System.currentTimeMillis();
final long cTime = System.currentTimeMillis();
for (L2PcInstance pc : _cachedWh.keySet())
{
if ((cTime - _cachedWh.get(pc)) > _cacheTime)