Skip to content

Commit

Permalink
Add @singleton annotation to VerkeersDrukteResource
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrik committed Dec 27, 2024
1 parent 4b401eb commit a185387
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.dropwizard.jersey.caching.CacheControl;
import jakarta.inject.Singleton;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.NotFoundException;
import jakarta.ws.rs.Path;
Expand Down Expand Up @@ -38,6 +39,7 @@

@Path(VerkeersDrukteResource.TRAFFIC_PATH)
@Produces(MediaType.APPLICATION_JSON)
@Singleton
public final class VerkeersDrukteResource implements IVerkeersDrukteResource {
private static final Logger LOG = LoggerFactory.getLogger(VerkeersDrukteResource.class);

Expand Down

0 comments on commit a185387

Please sign in to comment.