From caabdaaf414691aa0ab740ace9d14abdb9b72c4d Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Tue, 31 Dec 2019 18:10:45 +0200 Subject: [PATCH] Added missing Javadoc tags. --- src/main/java/envoy/data/MessageIdGenerator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/envoy/data/MessageIdGenerator.java b/src/main/java/envoy/data/MessageIdGenerator.java index ba52e83..dbd27a2 100644 --- a/src/main/java/envoy/data/MessageIdGenerator.java +++ b/src/main/java/envoy/data/MessageIdGenerator.java @@ -20,6 +20,7 @@ public class MessageIdGenerator { * * @param begin the first ID * @param end the last ID + * @since Envoy Common v0.2-alpha */ public MessageIdGenerator(long begin, long end) { current = begin; @@ -28,11 +29,13 @@ public class MessageIdGenerator { /** * @return {@code true} if there are unused IDs remaining + * @since Envoy Common v0.2-alpha */ public boolean hasNext() { return current < end; } /** * @return the next ID + * @since Envoy Common v0.2-alpha */ public long next() { if (!hasNext()) throw new IllegalStateException("All IDs have been used");