Skip to content

Commit a807991

Browse files
committed
fix some bug
1 parent 498a745 commit a807991

File tree

11 files changed

+12
-11
lines changed

11 files changed

+12
-11
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ target
77
*.rar
88
*.7z
99
*.iml
10+
*.versionsBackup

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ application.properties
2929

3030
```
3131
# Specify the package to scan the annotations
32-
io.github.lvyahui8.spring.base-packpages=io.github.lvyahui8.spring.example
32+
io.github.lvyahui8.spring.base-packages=io.github.lvyahui8.spring.example
3333
```
3434

3535
- `@DataProvider`: define the data provider

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ application.properties
2929

3030
```
3131
# 指定要扫描注解的包
32-
io.github.lvyahui8.spring.base-packpages=io.github.lvyahui8.spring.example
32+
io.github.lvyahui8.spring.base-packages=io.github.lvyahui8.spring.example
3333
```
3434

3535
- `@DataProvider` 定义数据提供者

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.lvyahui8</groupId>
88
<artifactId>spring-boot-data-aggregator</artifactId>
9-
<version>1.0.0-RELEASE</version>
9+
<version>1.0.1</version>
1010
<modules>
1111
<module>spring-boot-data-aggregator-core</module>
1212
<module>spring-boot-data-aggregator-autoconfigure</module>

spring-boot-data-aggregator-autoconfigure/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>spring-boot-data-aggregator</artifactId>
77
<groupId>io.github.lvyahui8</groupId>
8-
<version>1.0.0-RELEASE</version>
8+
<version>1.0.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

spring-boot-data-aggregator-autoconfigure/src/main/java/io/github/lvyahui8/spring/autoconfigure/BeanAggregateAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public ExecutorService aggregateExecutorService() {
7474
}
7575

7676
private void scanProviders(DataProviderRepository repository) {
77-
if(properties.getBasePackpages() != null) {
78-
for (String basePackage : properties.getBasePackpages()) {
77+
if(properties.getBasePackages() != null) {
78+
for (String basePackage : properties.getBasePackages()) {
7979
Reflections reflections = new Reflections(basePackage, new MethodAnnotationsScanner());
8080
Set<Method> providerMethods = reflections.getMethodsAnnotatedWith(DataProvider.class);
8181
for (Method method : providerMethods) {

spring-boot-data-aggregator-autoconfigure/src/main/java/io/github/lvyahui8/spring/autoconfigure/BeanAggregateProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@ConfigurationProperties(prefix = "io.github.lvyahui8.spring")
1111
@Data
1212
public class BeanAggregateProperties {
13-
private String [] basePackpages;
13+
private String [] basePackages;
1414
private int threadNumber = Runtime.getRuntime().availableProcessors() * 3 ;
1515
private int queueSize = 1000;
1616
}

spring-boot-data-aggregator-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>spring-boot-data-aggregator</artifactId>
77
<groupId>io.github.lvyahui8</groupId>
8-
<version>1.0.0-RELEASE</version>
8+
<version>1.0.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

spring-boot-data-aggregator-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>spring-boot-data-aggregator</artifactId>
77
<groupId>io.github.lvyahui8</groupId>
8-
<version>1.0.0-RELEASE</version>
8+
<version>1.0.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
spring.main.banner-mode=off
2-
io.github.lvyahui8.spring.base-packpages=io.github.lvyahui8.spring.example
2+
io.github.lvyahui8.spring.base-packages=io.github.lvyahui8.spring.example

0 commit comments

Comments
 (0)