Skip to content

Commit fc7c77f

Browse files
committed
Add missing annotation
1 parent 69de270 commit fc7c77f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

application/src/main/java/org/opentripplanner/apis/gtfs/configure/SchemaModule.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import dagger.Provides;
55
import graphql.schema.GraphQLSchema;
66
import jakarta.inject.Singleton;
7+
import javax.annotation.Nullable;
78
import org.opentripplanner.apis.gtfs.SchemaFactory;
89
import org.opentripplanner.framework.application.OTPFeature;
910
import org.opentripplanner.routing.api.request.RouteRequest;
@@ -19,6 +20,7 @@ public class SchemaModule {
1920

2021
@Provides
2122
@Singleton
23+
@Nullable
2224
public GraphQLSchema provideSchema(RouteRequest defaultRouteRequest) {
2325
return OTPFeature.GtfsGraphQlApi.isOn()
2426
? SchemaFactory.createSchemaWithDefaultInjection(defaultRouteRequest)

0 commit comments

Comments
 (0)