From 62ea28e608e0d9be61f416d30ded3357b27f1bc3 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Thu, 19 Oct 2006 16:22:05 +0000
Subject: [PATCH] Add comment that this method will throw a runtime exception if the byte array length is less than 8.

---
 opends/src/server/org/opends/server/backends/jeb/JebFormat.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/backends/jeb/JebFormat.java b/opends/src/server/org/opends/server/backends/jeb/JebFormat.java
index 2e7f420..319329b 100644
--- a/opends/src/server/org/opends/server/backends/jeb/JebFormat.java
+++ b/opends/src/server/org/opends/server/backends/jeb/JebFormat.java
@@ -396,7 +396,10 @@
   }
 
   /**
-   * Decode an entry ID value from its database representation.
+   * Decode an entry ID value from its database representation. Note that
+   * this method will throw an ArrayIndexOutOfBoundsException if the bytes
+   * array length is less than 8.
+   * 
    * @param bytes The database value of the entry ID.
    * @return The entry ID value.
    */

--
Gitblit v1.10.0