You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2002/10/17 22:32:39 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/objects XObject.java

jkesselm    2002/10/17 13:32:39

  Modified:    java/src/org/apache/xpath/objects Tag: xslt20 XObject.java
  Log:
  minor opt?
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.20.6.1.2.2 +3 -0      xml-xalan/java/src/org/apache/xpath/objects/XObject.java
  
  Index: XObject.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/objects/XObject.java,v
  retrieving revision 1.20.6.1.2.1
  retrieving revision 1.20.6.1.2.2
  diff -u -r1.20.6.1.2.1 -r1.20.6.1.2.2
  --- XObject.java	26 Aug 2002 20:33:34 -0000	1.20.6.1.2.1
  +++ XObject.java	17 Oct 2002 20:32:39 -0000	1.20.6.1.2.2
  @@ -644,6 +644,9 @@
     public Object castToType(int t, XPathContext support)
             throws javax.xml.transform.TransformerException
     {
  +  	// Should this be generalized to handle the rest of the basic types?
  +	//if(t==this.getType())	// Already matches
  +	//	return this;
   
       Object result;
   
  
  
  

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