Skip to content

Commit 3ac0d7c

Browse files
committed
Remove wrong annotation
1 parent 637fef3 commit 3ac0d7c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cloud-minecraft-modded-common/src/main/java/org/incendo/cloud/minecraft/modded/internal/ModdedSignedStringMapper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.incendo.cloud.minecraft.signed.SignedString;
4343
import org.incendo.cloud.minecraft.signed.SignedStringMapper;
4444
import org.incendo.cloud.parser.ArgumentParseResult;
45-
import org.jetbrains.annotations.NotNull;
4645

4746
@API(status = API.Status.INTERNAL)
4847
public final class ModdedSignedStringMapper implements SignedStringMapper {
@@ -114,7 +113,7 @@ public SignedString create(final String str, final PlayerChatMessage signedMessa
114113
}
115114
}
116115

117-
private static <P> P serviceWithFallback(final @NotNull Class<P> type) {
116+
private static <P> P serviceWithFallback(final Class<P> type) {
118117
final ServiceLoader<P> loader = ServiceLoader.load(type, type.getClassLoader());
119118
final Iterator<P> it = loader.iterator();
120119
Throwable cause = null;

0 commit comments

Comments
 (0)