Skip to content

Commit

Permalink
fix the code formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cheyx committed Sep 29, 2024
1 parent bc3dc8b commit c6b0a75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
@Setter
@ConfigurationProperties(prefix = "elasticjob")
public class ElasticJobProperties {

private Map<String, ElasticJobConfigurationProperties> jobs = new LinkedHashMap<>();
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties(TracingProperties.class)
public class ElasticJobTracingConfiguration {

@Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(name = "elasticjob.tracing.type", havingValue = "RDB")
static class RDBTracingConfiguration {

/**
* Create a bean of tracing DataSource.
*
Expand All @@ -58,7 +58,7 @@ public DataSource tracingDataSource(final TracingProperties tracingProperties) {
BeanUtils.copyProperties(dataSource, tracingDataSource);
return tracingDataSource;
}

/**
* Create a bean of tracing configuration.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
@Setter
@ConfigurationProperties(prefix = "elasticjob.tracing")
public class TracingProperties {

private String type;

@NestedConfigurationProperty
private DataSourceProperties dataSource;

private Set<String> includeJobNames = new HashSet<>();

private Set<String> excludeJobNames = new HashSet<>();
}

0 comments on commit c6b0a75

Please sign in to comment.