Fixing the Concurrency Issue

This commit is contained in:
Ali Dehghani 2020-07-03 01:54:45 +04:30
parent 4671770740
commit d5b2dd83bc
1 changed files with 2 additions and 0 deletions

View File

@ -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;