Skip to content

Commit

Permalink
skip the Nullable annotation to ensure compatibility with MN 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed Jun 27, 2022
1 parent 07d5932 commit f72e018
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
import io.micronaut.context.ApplicationContext;
import io.micronaut.function.executor.FunctionInitializer;

import javax.annotation.Nullable;

public class LoggingFunctionInitializer extends FunctionInitializer {

public LoggingFunctionInitializer() {
Expand All @@ -44,7 +42,7 @@ protected void startThis(ApplicationContext applicationContext) {

@Override
@SuppressWarnings("unchecked")
protected ApplicationContext buildApplicationContext(@Nullable Object context) {
protected ApplicationContext buildApplicationContext(Object context) {
return Logging.callAndRethrow(getClass(), "Exception building the application context", () -> super.buildApplicationContext(context));
}

Expand Down

0 comments on commit f72e018

Please sign in to comment.