Skip to content

Commit

Permalink
Merge pull request #1020 from KyoriPowered/renovate/patch-release-dep…
Browse files Browse the repository at this point in the history
…endency-changes

chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.12.7
  • Loading branch information
zml2008 authored Jan 13, 2024
2 parents e02a05c + 612ed24 commit 264920c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

/**
* Marks a method in {@link Audience} that does not need to be overridden in {@link ForwardingAudience} or {@link ForwardingAudience.Single}.
*
* @since 4.0.0
*/
@ApiStatus.Internal
@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,12 @@ public boolean readable() {
return this.name;
}

/**
* Type-specific renderer.
*
* @param <V> the value type
* @since 4.0.0
*/
@FunctionalInterface
interface Renderer<V> {
<C> @NotNull V render(final @NotNull ComponentRenderer<C> renderer, final @NotNull C context, final @NotNull V value);
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version = "1.0"

[versions]
checkstyle = "10.12.5"
checkstyle = "10.12.7"
errorprone = "2.24.1"
examination = "1.3.0"
guava = "33.0.0-jre"
Expand Down
5 changes: 5 additions & 0 deletions nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagScope.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@

import java.io.IOException;

/**
* A depth tracker for binary tags.
*
* @since 4.4.0
*/
interface BinaryTagScope extends AutoCloseable {
@Override
void close() throws IOException;
Expand Down
2 changes: 2 additions & 0 deletions nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagType.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ private static <T extends BinaryTag, Y extends BinaryTagType<T>> Y register(fina
* A binary tag reader.
*
* @param <T> the tag type
* @since 4.0.0
*/
interface Reader<T extends BinaryTag> {
@NotNull T read(final @NotNull DataInput input) throws IOException;
Expand All @@ -119,6 +120,7 @@ interface Reader<T extends BinaryTag> {
* A binary tag writer.
*
* @param <T> the tag type
* @since 4.0.0
*/
interface Writer<T extends BinaryTag> {
void write(final @NotNull T tag, final @NotNull DataOutput output) throws IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

/**
* Marker interface for resolvers that may handle a fixed domain of tags.
*
* @since 4.10.0
*/
interface MappableResolver {
/**
Expand Down

0 comments on commit 264920c

Please sign in to comment.