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

Matthew Swift
08.51.2014 b148c3e2f3a34827d3ccae385f110ba906b6c20c
refs
author Matthew Swift <matthew.swift@forgerock.com>
Wednesday, January 8, 2014 18:51 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Wednesday, January 8, 2014 18:51 +0100
commitb148c3e2f3a34827d3ccae385f110ba906b6c20c
tree 18435281b7182b9a980c474361c486f1c22db43a tree | zip | gz
parent eea48dcac3d0955dce513533d300940df04f5759 view | diff
Minor ByteString changes:

* throw LocalizedIllegalArgumentException in ByteString.valueOfHex() instead of ParseException and align with other methods
* move StaticUtils.hexToByte() to ByteString and make it private
* improve hexToByte() error handling.
4 files modified
294 ■■■■ changed files
opendj-core/src/main/java/com/forgerock/opendj/util/StaticUtils.java 144 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/AVA.java 6 ●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/ByteString.java 137 ●●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldap/ByteStringTestCase.java 7 ●●●● diff | view | raw | blame | history