You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/09/02 23:39:48 UTC
svn commit: r267310 -
/directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/filter/BranchNode.java
Author: elecharny
Date: Fri Sep 2 14:39:45 2005
New Revision: 267310
URL: http://svn.apache.org/viewcvs?rev=267310&view=rev
Log:
Switched to the newer file from shared/ldap
Modified:
directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/filter/BranchNode.java
Modified: directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/filter/BranchNode.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/filter/BranchNode.java?rev=267310&r1=267309&r2=267310&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/filter/BranchNode.java (original)
+++ directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/filter/BranchNode.java Fri Sep 2 14:39:45 2005
@@ -158,7 +158,12 @@
*/
public ExprNode getChild()
{
- return ( ExprNode ) m_children.get( 0 ) ;
+ if ( m_children.size() > 0 )
+ {
+ return ( ExprNode ) m_children.get( 0 ) ;
+ }
+
+ return null;
}