| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS |
| | | * Portions Copyright 2013-2014 ForgeRock AS |
| | | */ |
| | | package org.opends.server.tools; |
| | | |
| | |
| | | { |
| | | try |
| | | { |
| | | base = DN.decode(baseDN.getValue()); |
| | | base = DN.valueOf(baseDN.getValue()); |
| | | } |
| | | catch(DirectoryException de) |
| | | { |
| | |
| | | { |
| | | try |
| | | { |
| | | base = DN.decode(baseDN.getValue()); |
| | | base = DN.valueOf(baseDN.getValue()); |
| | | } |
| | | catch(DirectoryException de) |
| | | { |
| | |
| | | |
| | | try |
| | | { |
| | | base = DN.decode(baseDN.getValue()); |
| | | base = DN.valueOf(baseDN.getValue()); |
| | | } |
| | | catch(DirectoryException de) |
| | | { |
| | |
| | | { |
| | | // Encode the value as a DN |
| | | start = StaticUtils.getBytes( |
| | | DN.decode(minKeyValue.getValue()).toNormalizedString()); |
| | | DN.valueOf(minKeyValue.getValue()).toNormalizedString()); |
| | | } |
| | | else if(databaseContainer instanceof ID2Entry) |
| | | { |
| | |
| | | { |
| | | // Encode the value as a DN |
| | | end = StaticUtils.getBytes( |
| | | DN.decode(maxKeyValue.getValue()).toNormalizedString()); |
| | | DN.valueOf(maxKeyValue.getValue()).toNormalizedString()); |
| | | } |
| | | else if(databaseContainer instanceof ID2Entry) |
| | | { |