|
From: Richard G C. <pim...@us...> - 2004-07-28 15:18:13
|
Update of /cvsroot/openorb/OpenORB/src/compiler/org/openorb/compiler/rmi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29014/OpenORB/src/compiler/org/openorb/compiler/rmi Modified Files: JavaToIdl.java Log Message: refactoring + more verbose output Index: JavaToIdl.java =================================================================== RCS file: /cvsroot/openorb/OpenORB/src/compiler/org/openorb/compiler/rmi/JavaToIdl.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- JavaToIdl.java 5 May 2004 07:50:37 -0000 1.22 +++ JavaToIdl.java 28 Jul 2004 15:18:04 -0000 1.23 @@ -365,7 +365,7 @@ { compilationGraph = javaParser.parse_java( cl_name, true ); } - catch ( Throwable th ) + catch ( final Throwable th ) { m_ch.display( "An exception occured while parsing file: '" + cl_name + "'! (" + th + ")" ); @@ -401,9 +401,9 @@ for ( int i = locTaille; i < locSize; i++ ) { toIDL.translateToIDL( ( org.openorb.compiler.object.IdlRoot ) - javaParser.getCompilationTree().elementAt( i ), + javaParser.getCompilationTree().get( i ), ( ( org.openorb.compiler.object.IdlRoot ) - javaParser.getCompilationTree().elementAt( i ) )._name.replace( + javaParser.getCompilationTree().get( i ) )._name.replace( '.', java.io.File.separatorChar ) + ".idl" ); } } @@ -421,7 +421,7 @@ for ( int i = locTaille; i < locSize; i++ ) { toIDL.translateRMITie( ( org.openorb.compiler.object.IdlRoot ) - javaParser.getCompilationTree().elementAt( i ) ); + javaParser.getCompilationTree().get( i ) ); } } if ( rcp.getM_map_tie() ) @@ -446,7 +446,7 @@ for ( int i = locTaille; i < locSize; i++ ) { toIDL.translateRMIStub( ( org.openorb.compiler.object.IdlRoot ) - javaParser.getCompilationTree().elementAt( i ) ); + javaParser.getCompilationTree().get( i ) ); } } if ( rcp.getM_map_stub() ) |