More code hygiene. Need to do some fiddling to make dispatchers not generate

generics warnings when calling methods with generic types.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@698 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-08-01 14:40:54 +00:00
parent 7708bc96a6
commit bb0d6c5ba4
62 changed files with 292 additions and 274 deletions
@@ -110,9 +110,9 @@ public abstract class SpotSceneRuleSet implements NestableRuleSet
throws Exception
{
Portal portal = (Portal) digester.peek();
Class portalClass = portal.getClass();
Class<?> portalClass = portal.getClass();
Location loc = portal.loc;
Class locClass = loc.getClass();
Class<?> locClass = loc.getClass();
// iterate over the attributes, setting public fields where
// applicable
@@ -87,7 +87,7 @@ public class SpotSceneWriter
{
// we just add all the visible fields of the location, but something
// more sophisticated could be done
Class clazz = portalLoc.getClass();
Class<?> clazz = portalLoc.getClass();
Field[] fields = clazz.getFields();
for (int ii=0; ii < fields.length; ii++) {
try {