Skip to content

Commit

Permalink
Fixes schedule-exp EJB timer test
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Pinčuk <alexander.v.pinchuk@gmail.com>
  • Loading branch information
avpinchuk committed Feb 2, 2024
1 parent 418e007 commit 3ac37b4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,17 @@
import java.util.Date;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.concurrent.ConcurrentHashMap;

@Stateless
public class StlesEJB implements Stles {

@Resource
private TimerService timerSvc;

private static Map<String, ScheduleExpression> hm = new HashMap<String, ScheduleExpression>();
private static Set<String> callers = new HashSet<String>();
private static Set<String> expected_callers = new HashSet<String>();
private static final Map<String, ScheduleExpression> hm = new HashMap<String, ScheduleExpression>();
private static final Set<String> callers = ConcurrentHashMap.newKeySet();
private static final Set<String> expected_callers = ConcurrentHashMap.newKeySet();

public void createTimers() throws Exception {

Expand Down

0 comments on commit 3ac37b4

Please sign in to comment.