Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
p-moon committed Dec 11, 2024
1 parent cfbb6e0 commit ec54863
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ISP)则要求我们确保流程中的任何接口实现都可以被替换,
<dependency>
<groupId>plus.jdk</groupId>
<artifactId>spring-smart-ioc-starter</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>plus.jdk</groupId>
<artifactId>spring-smart-ioc-starter</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>


<description>spring-smart-ioc-starter</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Configuration
@EnableSmartInject
@ConditionalOnProperty(value = "smart.ioc.enable", havingValue = "true")
//@ConditionalOnProperty(value = "smart.ioc.enable", havingValue = "true")
@EnableConfigurationProperties(GlobalInjectProperties.class)
public class SmartIocGlobalConfiguration {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SmartIocSelectorFactory implements SmartLifecycle {
/**
* A flag indicating whether SmartIocSelectorFactory has been started.
*/
private Boolean started;
private Boolean started = false;

/**
* Create a new SmartIocSelectorFactory instance.
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

server.port= 8080

smart.ioc.enable=true
#server.port= 8080
#
#smart.ioc.enable=true

0 comments on commit ec54863

Please sign in to comment.