Skip to content

Commit

Permalink
Remove unneccesary volatile in test
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Dec 13, 2023
1 parent 70b7223 commit 722f03c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public Set<Object> getSingletons() {

@Path("/test1")
public final class TestResource1 {
private static volatile boolean closed;
private static boolean closed;
@GET
@Path("sse")
@Produces(MediaType.SERVER_SENT_EVENTS)
Expand Down Expand Up @@ -247,7 +247,7 @@ public void listenToEvents(@Context SseEventSink eventSink, @Context Sse sse) {
@Path("/test4")
public final class TestResource4 {
private static final int TIME_SECONDS = 2;
private volatile boolean fail = true;
private boolean fail = true;

@GET
@Path("sse")
Expand Down

0 comments on commit 722f03c

Please sign in to comment.