From df59285898b635c3c9f3011609eb7a73e779ecb9 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 07 Feb 2014 10:10:50 +0000
Subject: [PATCH] OPENDJ-1307 Migrate server ASN1 classes to SDK
---
opendj3-server-dev/src/server/org/opends/server/plugins/profiler/ProfileStack.java | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/plugins/profiler/ProfileStack.java b/opendj3-server-dev/src/server/org/opends/server/plugins/profiler/ProfileStack.java
index dab4953..8f0648b 100644
--- a/opendj3-server-dev/src/server/org/opends/server/plugins/profiler/ProfileStack.java
+++ b/opendj3-server-dev/src/server/org/opends/server/plugins/profiler/ProfileStack.java
@@ -26,14 +26,11 @@
*/
package org.opends.server.plugins.profiler;
-
-
import java.io.IOException;
-import org.opends.server.protocols.asn1.*;
-
import org.forgerock.i18n.slf4j.LocalizedLogger;
-
+import org.forgerock.opendj.io.ASN1Reader;
+import org.forgerock.opendj.io.ASN1Writer;
/**
* This class defines a data structure that may be used to hold information
@@ -324,10 +321,9 @@
* information from.
*
* @return The decoded profile stack.
- * @throws ASN1Exception If the element could not be decoded for some reason.
- *
+ * @throws IOException If the element could not be decoded for some reason.
*/
- public static ProfileStack decode(ASN1Reader reader) throws ASN1Exception
+ public static ProfileStack decode(ASN1Reader reader) throws IOException
{
reader.readStartSequence();
--
Gitblit v1.10.0