Remove unneeded casts.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@397 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2008-01-17 01:26:05 +00:00
parent a7e975f6da
commit f91b7714a5
2 changed files with 3 additions and 3 deletions
@@ -349,7 +349,7 @@ public class RecolorImage extends JPanel
iter = names.iterator(); iter = names.iterator();
while (iter.hasNext()) { while (iter.hasNext()) {
_classList.addItem((String)iter.next()); _classList.addItem(iter.next());
} }
_classList.setSelectedIndex(0); _classList.setSelectedIndex(0);
@@ -87,11 +87,11 @@ public class MisoSceneMetrics
slopeY = -slopeX; slopeY = -slopeX;
// calculate the edge length separating each fine coordinate // calculate the edge length separating each fine coordinate
finelen = tilelen / (float)finegran; finelen = tilelen / finegran;
// calculate the fine-coordinate x-axis line // calculate the fine-coordinate x-axis line
fineSlopeX = (float)tilehei / (float)tilewid; fineSlopeX = (float)tilehei / (float)tilewid;
fineBX = -(fineSlopeX * (float)tilehwid); fineBX = -(fineSlopeX * tilehwid);
fineSlopeY = -fineSlopeX; fineSlopeY = -fineSlopeX;
// calculate the fine coordinate dimensions // calculate the fine coordinate dimensions