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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user