mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
23.07.2013 c9f28834d89ff84d4065ac3ed0f27a6a9d0d56bd
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, December 23, 2013 13:07 +0100
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, December 23, 2013 13:07 +0100
commitc9f28834d89ff84d4065ac3ed0f27a6a9d0d56bd
tree 0c42d21d64e397eee4c19433e6ab1bba7eafad73 tree | zip | gz
parent 347f1426c8ec959211c2c01110042198a2da93a4 view | diff

* Modify LDIF#makeEntries and LDIF#makeEntry methods to throw RuntimeException
** Localize exception
** Return exception for all edge cases
** Add two new messages in core.properties for edge cases

* Add two new convenience methods LDIF makeEntries and makeEntry that
accepts List<String>

* Adapt unit tests to changes
5 files modified
229 ■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldap/Entries.java 24 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java 85 ●●●● diff | view | raw | blame | history
opendj-core/src/main/resources/com/forgerock/opendj/ldap/core.properties 4 ●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldif/AbstractLDIFTestCase.java 4 ●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldif/LDIFTestCase.java 112 ●●●●● diff | view | raw | blame | history