From 941aea80bbb13f86832f0332f628cd6ffc70a72a Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Wed, 26 Sep 2012 19:58:19 +0000 Subject: [PATCH] javadoc --- core/java/src/net/i2p/data/Hash.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/java/src/net/i2p/data/Hash.java b/core/java/src/net/i2p/data/Hash.java index a0f63459a3..add8235a6a 100644 --- a/core/java/src/net/i2p/data/Hash.java +++ b/core/java/src/net/i2p/data/Hash.java @@ -30,6 +30,7 @@ public class Hash extends SimpleDataStructure { /** * Pull from cache or return new + * @throws IllegalArgumentException if data is not the correct number of bytes * @since 0.8.3 */ public static Hash create(byte[] data) { @@ -38,6 +39,7 @@ public class Hash extends SimpleDataStructure { /** * Pull from cache or return new + * @throws AIOOBE if not enough bytes * @since 0.8.3 */ public static Hash create(byte[] data, int off) { -- GitLab