More juicy fallthrough bug finding.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@65 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -96,7 +96,9 @@
|
||||
<exclude name="**/ModPlayer.java"/>
|
||||
<exclude name="**/MidiPlayer.java"/>
|
||||
<exclude name="**/Mp3Player.java"/>
|
||||
<!--<compilerarg value="-Xlint:unchecked"/>-->
|
||||
<compilerarg value="-Xlint"/>
|
||||
<compilerarg value="-Xlint:-serial"/>
|
||||
<compilerarg value="-Xlint:-unchecked"/> <!-- TODO: fix -->
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
|
||||
@@ -484,8 +484,7 @@ public class DirtyItemList
|
||||
* Returns whether two dirty items have a partitioning object
|
||||
* between them on the given axis.
|
||||
*/
|
||||
protected int comparePartitioned (
|
||||
int axis, DirtyItem da, DirtyItem db)
|
||||
protected int comparePartitioned (int axis, DirtyItem da, DirtyItem db)
|
||||
{
|
||||
// prepare for the partitioning check
|
||||
SortableArrayList sitems;
|
||||
@@ -560,6 +559,7 @@ public class DirtyItemList
|
||||
dp.rx <= db.lx) {
|
||||
return (swapped) ? 1 : -1;
|
||||
}
|
||||
break;
|
||||
|
||||
case Y_AXIS:
|
||||
default:
|
||||
@@ -569,6 +569,7 @@ public class DirtyItemList
|
||||
dp.oy <= db.ry) {
|
||||
return (swapped) ? 1 : -1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user