| | |
| | | protected List<Modification> decodeMods(byte[] in) throws IOException, |
| | | LDAPException |
| | | { |
| | | List<Modification> mods = new ArrayList<Modification>(); |
| | | List<Modification> mods = new ArrayList<>(); |
| | | ASN1Reader reader = ASN1.getReader(in); |
| | | while (reader.hasNextElement()) |
| | | { |
| | |
| | | protected List<RawModification> decodeRawMods(byte[] in) |
| | | throws LDAPException, IOException |
| | | { |
| | | List<RawModification> ldapmods = new ArrayList<RawModification>(); |
| | | List<RawModification> ldapmods = new ArrayList<>(); |
| | | ASN1Reader asn1Reader = ASN1.getReader(in); |
| | | while(asn1Reader.hasNextElement()) |
| | | { |
| | |
| | | } |
| | | return ldapmods; |
| | | } |
| | | |
| | | } |