From 4baece95779dd46a3a59d59d1b7aa5958cf6117d Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 05 Nov 2015 12:25:29 +0000
Subject: [PATCH] OPENDJ-1802 Make ByteString methods more intentional
---
opendj-server-legacy/src/main/java/org/opends/server/admin/ACIPropertyDefinition.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/admin/ACIPropertyDefinition.java b/opendj-server-legacy/src/main/java/org/opends/server/admin/ACIPropertyDefinition.java
index 5dd9a6a..c0b70e3 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/admin/ACIPropertyDefinition.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/admin/ACIPropertyDefinition.java
@@ -110,7 +110,7 @@
ifNull(value);
try {
- return Aci.decode(ByteString.valueOf(value), DN.NULL_DN);
+ return Aci.decode(ByteString.valueOfUtf8(value), DN.NULL_DN);
} catch (AciException e) {
// TODO: it would be nice to throw the cause.
throw PropertyException.illegalPropertyValueException(this, value);
--
Gitblit v1.10.0