Address javadoc violations

This commit is contained in:
NotMyFault
2021-09-21 17:40:53 +02:00
parent 1de3a6b54a
commit 3617a29ba8
17 changed files with 22 additions and 25 deletions

View File

@ -44,7 +44,7 @@ import static com.sk89q.worldedit.EditSession.Stage;
* all changes made to the world. For example, the code below would wrap the
* existing extent with a custom one, and the custom extent would receive
* all method calls <strong>before</strong> the extent fetched from
* {@link #getExtent()} would.</p>
* {@link #getExtent()} would.
*
* <pre>
* event.setExtent(new MyExtent(event.getExtent())
@ -61,7 +61,7 @@ import static com.sk89q.worldedit.EditSession.Stage;
* custom {@link Extent} because that method bypasses history (and reorder).
* It is thus recommended that loggers intercept at {@link Stage#BEFORE_CHANGE}
* and block interceptors intercept at BOTH {@link Stage#BEFORE_CHANGE} and
* {@link Stage#BEFORE_HISTORY}.</p>
* {@link Stage#BEFORE_HISTORY}.
*/
public class EditSessionEvent extends Event implements Cancellable {

View File

@ -178,7 +178,7 @@ public final class MaskFactory extends AbstractFactory<Mask> {
/**
* Parses a mask without considering parsing through the {@link RichMaskParser}, therefore not accepting
* "richer" parsing where & and , are used. Exists to prevent stack overflows.
* "richer" parsing where &amp; and , are used. Exists to prevent stack overflows.
*
* @param input input string
* @param context input context

View File

@ -181,7 +181,7 @@ public final class PatternFactory extends AbstractFactory<Pattern> {
/**
* Parses a pattern without considering parsing through the {@link RichPatternParser}, therefore not accepting
* "richer" parsing where & and , are used. Exists to prevent stack overflows.
* "richer" parsing where &amp; and , are used. Exists to prevent stack overflows.
*
* @param input input string
* @param context input context

View File

@ -30,7 +30,7 @@ import java.lang.annotation.Target;
* Indicates that this value is for 3d-chunk compatibility.
*
* <p>
* For vectors, this means that the vector supports 2D & 3D inputs,
* For vectors, this means that the vector supports 2D &amp; 3D inputs,
* with 2D getting a Y value of 0.
* </p>
*/

View File

@ -160,7 +160,7 @@ public class CraftScriptContext extends CraftScriptEnvironment {
/**
* Immediately terminate execution of the script, but without a failure message.
*
* @implNote This exits by throwing an exception, which if caught will prevent
* This exits by throwing an exception, which if caught will prevent
* the script from exiting
*/
public void exit() {

View File

@ -125,7 +125,7 @@ public class HttpRequest implements Closeable {
/**
* Execute the request.
* <p/>
* <p>
* After execution, {@link #close()} should be called.
*
* @return this object

View File

@ -52,7 +52,6 @@ import java.util.stream.StreamSupport;
* <li>{@code 2019-06-15-10-20-30}</li>
* <li>{@code 2019-6-1-1-2-3}</li>
* </ul>
* </p>
*/
public class FileNameDateTimeParser implements SnapshotDateTimeParser {

View File

@ -166,7 +166,7 @@ public interface BlockStateHolder<B extends BlockStateHolder<B>> extends TileEnt
*
* @param compoundTag The NBT Data to apply
* @return The BaseBlock
* @apiNote This must be overridden by new subclasses. See {@link NonAbstractForCompatibility}
* This must be overridden by new subclasses. See {@link NonAbstractForCompatibility}
* for details
*/
@NonAbstractForCompatibility(