Fixing the Concurrency Issue
This commit is contained in:
parent
4671770740
commit
d5b2dd83bc
|
@ -1,8 +1,10 @@
|
|||
package com.baeldung.serenity.spring;
|
||||
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
@Scope("prototype")
|
||||
public class AdderService {
|
||||
|
||||
private int num;
|
||||
|
|
Loading…
Reference in New Issue