xml-xalan-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mk...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xpath/objects XBoolean.java
Date Wed, 04 Dec 2002 21:17:57 GMT
mkwan       2002/12/04 13:17:57

  Modified:    java/src/org/apache/xpath/objects XBoolean.java
  Log:
  For Bugzilla 15074. Return a java Boolean type object in object(),
  so that it can be recognized by extension functions.
  
  Revision  Changes    Path
  1.12      +1 -1      xml-xalan/java/src/org/apache/xpath/objects/XBoolean.java
  
  Index: XBoolean.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/objects/XBoolean.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XBoolean.java	22 Mar 2002 01:04:44 -0000	1.11
  +++ XBoolean.java	4 Dec 2002 21:17:57 -0000	1.12
  @@ -170,7 +170,7 @@
     public Object object()
     {
       if(null == m_obj)
  -      m_obj = m_val ? S_TRUE : S_FALSE;
  +      m_obj = new Boolean(m_val);
       return m_obj;
     }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message