#587: Fix various javadoc typos

By: Matthew Sanders <msanders5984@gmail.com>
This commit is contained in:
Bukkit/Spigot
2021-02-22 19:36:26 +11:00
parent 6924afb662
commit 19b6eb1dda
3 changed files with 6 additions and 6 deletions

View File

@@ -306,7 +306,7 @@ public interface ArmorStand extends LivingEntity {
* Remove a {@link LockType locking mechanism}. * Remove a {@link LockType locking mechanism}.
* *
* @param slot the equipment slot to change * @param slot the equipment slot to change
* @param lockType the lockType to remove * @param lockType the LockType to remove
*/ */
void removeEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType); void removeEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType);
@@ -316,7 +316,7 @@ public interface ArmorStand extends LivingEntity {
* *
* @param slot the EquipmentSlot to test * @param slot the EquipmentSlot to test
* @param lockType the LockType to test * @param lockType the LockType to test
* @return if the ArmnorStand has been locked with the parameters specified * @return if the ArmorStand has been locked with the parameters specified
*/ */
boolean hasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType); boolean hasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull LockType lockType);

View File

@@ -134,7 +134,7 @@ public class PlayerDeathEvent extends EntityDeathEvent {
* <p> * <p>
* This overrides all other EXP settings * This overrides all other EXP settings
* <p> * <p>
* <b>This doesn't prevent prevent the EXP from dropping. * <b>This doesn't prevent the EXP from dropping.
* {@link #setDroppedExp(int)} should be used stop the * {@link #setDroppedExp(int)} should be used stop the
* EXP from dropping.</b> * EXP from dropping.</b>
* *
@@ -147,7 +147,7 @@ public class PlayerDeathEvent extends EntityDeathEvent {
/** /**
* Sets if the Player keeps inventory on death. * Sets if the Player keeps inventory on death.
* <p> * <p>
* <b>This doesn't prevent prevent the items from dropping. * <b>This doesn't prevent the items from dropping.
* {@code getDrops().clear()} should be used stop the * {@code getDrops().clear()} should be used stop the
* items from dropping.</b> * items from dropping.</b>
* *

View File

@@ -49,7 +49,7 @@ public interface ServicesManager {
public void unregister(@NotNull Object provider); public void unregister(@NotNull Object provider);
/** /**
* Queries for a provider. This may return if no provider has been * Queries for a provider. This may return null if no provider has been
* registered for a service. The highest priority provider is returned. * registered for a service. The highest priority provider is returned.
* *
* @param <T> The service interface * @param <T> The service interface
@@ -60,7 +60,7 @@ public interface ServicesManager {
public <T> T load(@NotNull Class<T> service); public <T> T load(@NotNull Class<T> service);
/** /**
* Queries for a provider registration. This may return if no provider * Queries for a provider registration. This may return null if no provider
* has been registered for a service. * has been registered for a service.
* *
* @param <T> The service interface * @param <T> The service interface