Skip to content

Commit e8aeef4

Browse files
committed
Change nullability.
1 parent b7b3b65 commit e8aeef4

File tree

1 file changed

+2
-1
lines changed
  • byte-buddy-dep/src/main/java/net/bytebuddy/build

1 file changed

+2
-1
lines changed

byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import net.bytebuddy.utility.StreamDrainer;
3232
import net.bytebuddy.utility.nullability.AlwaysNull;
3333
import net.bytebuddy.utility.nullability.MaybeNull;
34+
import net.bytebuddy.utility.nullability.NeverNull;
3435
import net.bytebuddy.utility.nullability.UnknownNull;
3536

3637
import java.io.*;
@@ -3347,7 +3348,7 @@ protected MultiReleaseVersionMatcher(ClassFileVersion classFileVersion) {
33473348
/**
33483349
* {@inheritDoc}
33493350
*/
3350-
public boolean matches(@UnknownNull Element target) {
3351+
public boolean matches(@NeverNull Element target) {
33513352
String name = target.getName();
33523353
if (name.startsWith("/")) {
33533354
name = name.substring(1);

0 commit comments

Comments
 (0)