Skip to content

Commit ddee608

Browse files
allebatonsenivam
authored andcommitted
Fixed reconnectDelay
Author: allebaton <[email protected]> reconnectUnit was not properly. Fix sets reconnectUnit to the value of input parameter "unit"
1 parent 1db034f commit ddee608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

media/sse/src/main/java/org/glassfish/jersey/media/sse/internal/EventProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2024 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2025 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -400,7 +400,7 @@ private Builder(WebTarget target,
400400
*/
401401
public Builder reconnectDelay(long reconnectDelay, TimeUnit unit) {
402402
this.reconnectDelay = reconnectDelay;
403-
this.reconnectUnit = reconnectUnit;
403+
this.reconnectUnit = unit;
404404
return this;
405405
}
406406

0 commit comments

Comments
 (0)