From 73f44b03b719df13cbd2550c84be3b4e2fa4b36f Mon Sep 17 00:00:00 2001 From: D0gma_ Date: Mon, 27 Feb 2023 10:20:27 +0100 Subject: [PATCH] Change outdated javadoc comments --- .../main/java/xyz/xenondevs/invui/item/Item.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/Item.java b/invui/src/main/java/xyz/xenondevs/invui/item/Item.java index 17960c5..72dbb8a 100644 --- a/invui/src/main/java/xyz/xenondevs/invui/item/Item.java +++ b/invui/src/main/java/xyz/xenondevs/invui/item/Item.java @@ -29,7 +29,7 @@ public interface Item { void addWindow(Window window); /** - * Removes an {@link Window} from the window set, telling the {@link Item} that it + * Removes a {@link Window} from the window set, telling the {@link Item} that it * is no longer being displayed in that {@link Window}. * * @param window The {@link Window} the {@link Item} is no longer displayed in. @@ -46,19 +46,19 @@ public interface Item { Set getWindows(); /** - * Calls the {@link Window#handleItemProviderUpdate(Item)} method on every {@link Window} - * in the set, notifying them that the {@link ItemProvider} has been updated - * and the {@link ItemStack} inside the {@link Window}'s {@link Inventory} should + * Calls a refresh method on every {@link Window} in which this {@link Item} is displayed, + * notifying them that the {@link ItemProvider} has been updated, + * thus the {@link ItemStack} inside the {@link Window}'s {@link Inventory} should * be replaced. */ void notifyWindows(); /** - * A method called if the the {@link ItemStack} associated to this {@link Item} + * A method called if the {@link ItemStack} associated to this {@link Item} * has been clicked by a player. * - * @param clickType The {@link ClickType} the {@link Player} did. - * @param player The {@link Player} who clicked on the {@link ItemStack} + * @param clickType The {@link ClickType} the {@link Player} performed. + * @param player The {@link Player} who clicked on the {@link ItemStack}. * @param event The {@link InventoryClickEvent} associated with this click. */ void handleClick(@NotNull ClickType clickType, @NotNull Player player, @NotNull InventoryClickEvent event);