equal
deleted
inserted
replaced
135 |
135 |
136 entries = res.entries; |
136 entries = res.entries; |
137 limit = (entries == null) ? 0 : entries.size(); // handle empty set |
137 limit = (entries == null) ? 0 : entries.size(); // handle empty set |
138 posn = 0; // reset |
138 posn = 0; // reset |
139 |
139 |
140 // mimimize the number of calls to processReturnCode() |
140 // minimize the number of calls to processReturnCode() |
141 // (expensive when batchSize is small and there are many results) |
141 // (expensive when batchSize is small and there are many results) |
142 if ((res.status != LdapClient.LDAP_SUCCESS) || |
142 if ((res.status != LdapClient.LDAP_SUCCESS) || |
143 ((res.status == LdapClient.LDAP_SUCCESS) && |
143 ((res.status == LdapClient.LDAP_SUCCESS) && |
144 (res.referrals != null))) { |
144 (res.referrals != null))) { |
145 |
145 |