From aa7e88dca4c747b84c06f672c6dda3f1b7925081 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Thu, 26 Jan 2012 23:08:19 -0800 Subject: j3dutils: update for generics annotation done for getAllLocales Signed-off-by: Harvey Harrison --- .../com/sun/j3d/utils/universe/SimpleUniverseState.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/com/sun/j3d/utils/universe/SimpleUniverseState.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/com/sun/j3d/utils/universe/SimpleUniverseState.java index bb1cc79..163385c 100644 --- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/com/sun/j3d/utils/universe/SimpleUniverseState.java +++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/state/com/sun/j3d/utils/universe/SimpleUniverseState.java @@ -157,13 +157,13 @@ public class SimpleUniverseState extends java.lang.Object { private void writeLocales( DataOutput out ) throws IOException { - Enumeration allLocales = universe.getAllLocales(); + Enumeration allLocales = universe.getAllLocales(); out.writeInt( universe.numLocales() ); localeBGs = new ArrayList( universe.numLocales() ); int currentLocale = 0; int graphID = 0; while( allLocales.hasMoreElements() ) { - Locale locale = (Locale)allLocales.nextElement(); + Locale locale = allLocales.nextElement(); HiResCoord hiRes = new HiResCoord(); writeHiResCoord( out, hiRes ); int bgs[]; @@ -218,9 +218,9 @@ public class SimpleUniverseState extends java.lang.Object { */ public void buildGraph() { Locale locale; - Enumeration e = universe.getAllLocales(); + Enumeration e = universe.getAllLocales(); for( int i=0; i e = universe.getAllLocales(); Locale locale; for( int i=0; i