Skip to content

Commit

Permalink
Remove wrong annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 21, 2025
1 parent 637fef3 commit 3ac0d7c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import org.incendo.cloud.minecraft.signed.SignedString;
import org.incendo.cloud.minecraft.signed.SignedStringMapper;
import org.incendo.cloud.parser.ArgumentParseResult;
import org.jetbrains.annotations.NotNull;

@API(status = API.Status.INTERNAL)
public final class ModdedSignedStringMapper implements SignedStringMapper {
Expand Down Expand Up @@ -114,7 +113,7 @@ public SignedString create(final String str, final PlayerChatMessage signedMessa
}
}

private static <P> P serviceWithFallback(final @NotNull Class<P> type) {
private static <P> P serviceWithFallback(final Class<P> type) {
final ServiceLoader<P> loader = ServiceLoader.load(type, type.getClassLoader());
final Iterator<P> it = loader.iterator();
Throwable cause = null;
Expand Down

0 comments on commit 3ac0d7c

Please sign in to comment.