Skip to content

Commit

Permalink
Fix nullability declaration in NativeConfiguration.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Apr 9, 2024
1 parent 933a74c commit 8519b9e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.springframework.aot.hint.MemberCategory;
import org.springframework.aot.hint.RuntimeHints;
import org.springframework.aot.hint.RuntimeHintsRegistrar;
import org.springframework.lang.Nullable;
import org.springsource.restbucks.drinks.Drink;

/**
Expand All @@ -29,7 +30,7 @@
class NativeConfiguration implements RuntimeHintsRegistrar {

@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {

System.out.println("Generating proxy for Drink");

Expand Down

0 comments on commit 8519b9e

Please sign in to comment.