You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2004/12/10 08:01:32 UTC

cvs commit: xml-xalan/c/src/xalanc/PlatformSupport XalanParsedURI.hpp

dbertoni    2004/12/09 23:01:32

  Modified:    c/src/xalanc/PlatformSupport XalanParsedURI.hpp
  Log:
  Simplified boolean expressions.
  
  Revision  Changes    Path
  1.7       +4 -4      xml-xalan/c/src/xalanc/PlatformSupport/XalanParsedURI.hpp
  
  Index: XalanParsedURI.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/XalanParsedURI.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanParsedURI.hpp	11 Nov 2004 03:27:20 -0000	1.6
  +++ XalanParsedURI.hpp	10 Dec 2004 07:01:32 -0000	1.7
  @@ -223,7 +223,7 @@
   	 */
   	bool isSchemeDefined() const 
   	{ 
  -		return !!(m_defined & d_scheme); 
  +		return m_defined & d_scheme;
   	}
   
   	/**
  @@ -257,7 +257,7 @@
   	 */
   	bool isAuthorityDefined() const 
   	{ 
  -		return !!(m_defined & d_authority); 
  +		return m_defined & d_authority; 
   	}
   
   	/**
  @@ -315,7 +315,7 @@
   	 */
   	bool isQueryDefined() const 
   	{ 
  -		return !!(m_defined & d_query); 
  +		return m_defined & d_query;
   	}
   
   	/**
  @@ -349,7 +349,7 @@
   	 */
   	bool isFragmentDefined() const 
   	{ 
  -		return !!(m_defined & d_fragment); 
  +		return m_defined & d_fragment;
   	}
   
   	/**
  
  
  

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