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

Nicolas Capponi
23.07.2013 50ea9b3f016e83c6de04bc3a5b990708f347b464
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
commit50ea9b3f016e83c6de04bc3a5b990708f347b464
tree 8c13626e3adcaa2b969ccd7788e226fae59e6b83 tree | zip | gz
parent c98ff3c33fac394c1077a709af7958bc4199da04 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-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/Entries.java 24 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java 85 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj-core/src/main/resources/com/forgerock/opendj/ldap/core.properties 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldif/AbstractLDIFTestCase.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldif/LDIFTestCase.java 112 ●●●●● diff | view | raw | blame | history