Skip to content

Commit

Permalink
Remove optional Autowired annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Dec 19, 2023
1 parent db4e6bb commit ef50676
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public RedissonCacheConfig(
@Value("${org.entur.lamassu.redis.slave.enabled:false}") boolean slaveEnabled,
@Value("${org.entur.lamassu.redis.slave.host:na}") String slaveHost,
@Value("${org.entur.lamassu.redis.slave.port:na}") String slavePort,
@Autowired LamassuProjectInfoConfiguration lamassuProjectInfoConfiguration
LamassuProjectInfoConfiguration lamassuProjectInfoConfiguration
) {
serializationVersion = lamassuProjectInfoConfiguration.getSerializationVersion();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public class AdminController {

private final String serializationVersion;

@Autowired
public AdminController(
RedissonClient redissonClient,
GeoSearchService geoSearchService,
Expand Down

0 comments on commit ef50676

Please sign in to comment.