Skip to content

Commit

Permalink
Add @Autowired back to property classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffany jernigan committed Jan 9, 2024
1 parent d7a55e7 commit 1b54999
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import java.time.Duration;
import java.time.temporal.ChronoUnit;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.convert.DurationUnit;

Expand All @@ -29,6 +30,7 @@ public class RedisProperties {

private final ConductorProperties conductorProperties;

@Autowired
public RedisProperties(ConductorProperties conductorProperties) {
this.conductorProperties = conductorProperties;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import java.time.Duration;
import java.time.temporal.ChronoUnit;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.convert.DurationUnit;
import org.springframework.core.env.Environment;
Expand All @@ -24,6 +25,7 @@ public class ArchivingWorkflowListenerProperties {

private final Environment environment;

@Autowired
public ArchivingWorkflowListenerProperties(Environment environment) {
this.environment = environment;
}
Expand Down

0 comments on commit 1b54999

Please sign in to comment.