logo       

Nice/src/bossa/modules Package.java,1.134,1.135: msg#00024

Subject: Nice/src/bossa/modules Package.java,1.134,1.135
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe