Skip to content

Commit c2b8c59

Browse files
committed
Polishing
1 parent a41a5e1 commit c2b8c59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public DeferredResult(Long timeoutValue) {
100100
* @param timeoutResult the result to use
101101
*/
102102
public DeferredResult(@Nullable Long timeoutValue, Object timeoutResult) {
103-
this.timeoutResult = timeoutResult;
104103
this.timeoutValue = timeoutValue;
104+
this.timeoutResult = timeoutResult;
105105
}
106106

107107

spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public void setSuppressCors(boolean suppressCors) {
288288
/**
289289
* Return if automatic addition of CORS headers has been disabled.
290290
* @since 4.1.2
291-
* @see #setSuppressCors(boolean)
291+
* @see #setSuppressCors
292292
*/
293293
public boolean shouldSuppressCors() {
294294
return this.suppressCors;

0 commit comments

Comments
 (0)