Update of /cvsroot/nice/Nice/src/bossa/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2996/src/bossa/modules
Modified Files:
Package.java
Log Message:
Cleanup.
Index: Package.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** Package.java 14 Jan 2005 11:12:08 -0000 1.134
--- Package.java 16 Feb 2005 16:24:33 -0000 1.135
***************
*** 519,523 ****
{
JarFile runtime = null;
!
if (runtimeJar != null)
try {
--- 519,523 ----
{
JarFile runtime = null;
!
if (runtimeJar != null)
try {
***************
*** 569,573 ****
}
! private static void addEntry(String name, InputStream data,
JarOutputStream out)
throws IOException
--- 569,573 ----
}
! private static void addEntry(String name, InputStream data,
JarOutputStream out)
throws IOException
***************
*** 583,587 ****
if (size < 1024) size = 1024;
byte[] buf = new byte[size];
!
try{
int read;
--- 583,587 ----
if (size < 1024) size = 1024;
byte[] buf = new byte[size];
!
try{
int read;
***************
*** 598,602 ****
}
}
!
/****************************************************************
* Code generation
--- 598,602 ----
}
}
!
/****************************************************************
* Code generation
***************
*** 604,608 ****
/** The name of the class package functions and method implementations
! are stored in.
**/
static final String packageClassName = "fun";
--- 604,608 ----
/** The name of the class package functions and method implementations
! are stored in.
**/
static final String packageClassName = "fun";
***************
*** 612,616 ****
if (compiling())
return bossa.syntax.dispatch.NiceClass_createClassExp(def);
!
String name = bossa.syntax.dispatch.NiceClass_getName(def).toString();
ClassType classe = source.readClass(name);
--- 612,616 ----
if (compiling())
return bossa.syntax.dispatch.NiceClass_createClassExp(def);
!
String name = bossa.syntax.dispatch.NiceClass_getName(def).toString();
ClassType classe = source.readClass(name);
***************
*** 618,622 ****
Internal.error("Compiled class " + def + " was not found");
importMethods(def, classe);
!
ClassExp res = new ClassExp(classe);
addUserClass(res);
--- 618,622 ----
Internal.error("Compiled class " + def + " was not found");
importMethods(def, classe);
!
ClassExp res = new ClassExp(classe);
addUserClass(res);
***************
*** 646,651 ****
}
! public void addGlobalVar(gnu.expr.Declaration decl,
! boolean constant)
{
if (!compiling())
--- 646,650 ----
}
! public void addGlobalVar(gnu.expr.Declaration decl, boolean constant)
{
if (!compiling())
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|