Changed Object to Element. (sonarcloud)
This commit is contained in:
parent
b4345015c3
commit
fa2eb27a1a
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ public final class CurrencyConverter extends ThreadedModule {
|
|||
final List<Element> cubes = cubeTime.getChildren();
|
||||
Element cube;
|
||||
|
||||
for (final Object rawCube : cubes) {
|
||||
cube = (Element) rawCube;
|
||||
for (final Element rawCube : cubes) {
|
||||
cube = rawCube;
|
||||
EXCHANGE_RATES.put(
|
||||
cube.getAttribute("currency").getValue(),
|
||||
cube.getAttribute("rate").getValue());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue