unnecessary cast

This commit is contained in:
zzz
2014-05-09 12:14:19 +00:00
parent 292b0a81c0
commit e165c1805d
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ public class ConfigStatsHandler extends FormHandler {
StringBuilder stats = new StringBuilder();
for (int i = 0; i < _stats.size(); i++) {
stats.append((String)_stats.get(i));
stats.append(_stats.get(i));
if (i + 1 < _stats.size())
stats.append(',');
}

View File

@@ -97,7 +97,7 @@ public class ConfigStatsHelper extends HelperBase {
if (_stats.isEmpty())
return false;
_currentIsGraphed = false;
_currentStatName = (String)_stats.remove(0);
_currentStatName = _stats.remove(0);
RateStat rs = _context.statManager().getRate(_currentStatName);
if (rs != null) {
_currentStatDescription = rs.getDescription();