File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
springboot-starter-data-fast
springboot-starter-id-generator
springboot-starter-security-jwt
src/main/java/com/codingapi/springboot/framework/trigger Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1212
1313 <groupId >com.codingapi.springboot</groupId >
1414 <artifactId >springboot-parent</artifactId >
15- <version >1.5.4 </version >
15+ <version >1.5.5 </version >
1616
1717 <url >https://github.com/codingapi/springboot-framewrok</url >
1818 <name >springboot-parent</name >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >1.5.4 </version >
8+ <version >1.5.5 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >1.5.4 </version >
8+ <version >1.5.5 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >1.5.4 </version >
9+ <version >1.5.5 </version >
1010 </parent >
1111
1212 <artifactId >springboot-starter-security-jwt</artifactId >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.codingapi.springboot</groupId >
77 <artifactId >springboot-parent</artifactId >
8- <version >1.5.4 </version >
8+ <version >1.5.5 </version >
99 </parent >
1010 <artifactId >springboot-starter</artifactId >
1111
Original file line number Diff line number Diff line change 33import lombok .extern .slf4j .Slf4j ;
44
55import java .lang .reflect .ParameterizedType ;
6- import java .util .ArrayList ;
76import java .util .Iterator ;
87import java .util .List ;
98import java .util .Map ;
109import java .util .concurrent .ConcurrentHashMap ;
10+ import java .util .concurrent .CopyOnWriteArrayList ;
1111
1212
1313/**
@@ -42,7 +42,7 @@ public void addTrigger(TriggerHandler handler){
4242 Class <? extends Trigger > clazz = getTriggerClass (handler );
4343 List <TriggerHandler > triggerList = this .triggers .get (clazz );
4444 if (triggerList ==null ){
45- triggerList = new ArrayList <>();
45+ triggerList = new CopyOnWriteArrayList <>();
4646 this .triggers .put (clazz ,triggerList );
4747 }
4848 triggerList .add (handler );
You can’t perform that action at this time.
0 commit comments