From bc42fe797a348e33f9e30745f0bc98f3c88e6a58 Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Fri, 5 Dec 2014 17:16:37 +0900 Subject: [PATCH] JavaDoc fixes --- .../java/com/zaxxer/hikari/util/ConcurrentBag.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hikaricp-common/src/main/java/com/zaxxer/hikari/util/ConcurrentBag.java b/hikaricp-common/src/main/java/com/zaxxer/hikari/util/ConcurrentBag.java index 1fb6dd2f..273e330d 100644 --- a/hikaricp-common/src/main/java/com/zaxxer/hikari/util/ConcurrentBag.java +++ b/hikaricp-common/src/main/java/com/zaxxer/hikari/util/ConcurrentBag.java @@ -173,7 +173,7 @@ public class ConcurrentBag /** * Remove a value from the bag. This method should only be called - * with objects obtained by {@link #borrow(long, TimeUnit)} or {@link #reserve(BagEntry)}. + * with objects obtained by {@link #borrow(long, TimeUnit)} or {@link #reserve(T)}. * * @param bagEntry the value to remove * @return true if the entry was removed, false otherwise @@ -203,7 +203,7 @@ public class ConcurrentBag /** * This method provides a "snaphot" in time of the BagEntry * items in the bag in the specified state. It does not "lock" - * or reserve items in any way. Call {@link #reserve(BagEntry)} + * or reserve items in any way. Call {@link #reserve(T)} * on items in list before performing any action on them. * * @param state one of STATE_NOT_IN_USE or STATE_IN_USE @@ -226,10 +226,10 @@ public class ConcurrentBag * The method is used to make an item in the bag "unavailable" for * borrowing. It is primarily used when wanting to operate on items * returned by the {@link #values(int)} method. Items that are - * reserved can be removed from the bag via {@link #remove(BagEntry)} + * reserved can be removed from the bag via {@link #remove(T)} * without the need to unreserve them. Items that are not removed * from the bag can be make available for borrowing again by calling - * the {@link #unreserve(BagEntry)} method. + * the {@link #unreserve(T)} method. * * @param bagEntry the item to reserve * @return true if the item was able to be reserved, false otherwise @@ -240,7 +240,7 @@ public class ConcurrentBag } /** - * This method is used to make an item reserved via {@link #reserve(BagEntry)} + * This method is used to make an item reserved via {@link #reserve(T)} * available again for borrowing. * * @param bagEntry the item to unreserve