[BACK]Return to OMproxy.java CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath

Diff for /OpenXM/src/OpenMath/OMproxy.java between version 1.5 and 1.6

version 1.5, 1999/11/04 18:24:16 version 1.6, 1999/11/04 18:38:59
Line 1 
Line 1 
 /**  /**
  * $OpenXM: OpenXM/src/OpenMath/OMproxy.java,v 1.4 1999/11/04 18:21:42 tam Exp $   * $OpenXM: OpenXM/src/OpenMath/OMproxy.java,v 1.5 1999/11/04 18:24:16 tam Exp $
  */   */
   
 import JP.ac.kobe_u.math.tam.OpenXM.*;  import JP.ac.kobe_u.math.tam.OpenXM.*;
Line 125  class OMproxy implements Runnable{
Line 125  class OMproxy implements Runnable{
     CMO ret;      CMO ret;
   
     debug("OMXML2CMO called: "+obj);      debug("OMXML2CMO called: "+obj);
       if(!(obj instanceof CMO_STRING)){
     if(obj instanceof CMO_STRING){  
       return new CMO_ERROR2();        return new CMO_ERROR2();
     }      }
   
Line 134  class OMproxy implements Runnable{
Line 133  class OMproxy implements Runnable{
       stream = new ByteArrayInputStream(((CMO_STRING)obj).getString().getBytes());        stream = new ByteArrayInputStream(((CMO_STRING)obj).getString().getBytes());
       ret = trans.parse(stream);        ret = trans.parse(stream);
     }catch(IOException e){      }catch(IOException e){
         debug("OMXML2CMO occuered error in trans");
       return new CMO_ERROR2(new CMO_STRING(e.toString()));        return new CMO_ERROR2(new CMO_STRING(e.toString()));
     }      }
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>