Polishing

This commit is contained in:
Juergen Hoeller
2019-05-21 00:08:40 +02:00
parent a41a5e195f
commit c2b8c592ee
2 changed files with 2 additions and 2 deletions

View File

@@ -100,8 +100,8 @@ public class DeferredResult<T> {
* @param timeoutResult the result to use
*/
public DeferredResult(@Nullable Long timeoutValue, Object timeoutResult) {
this.timeoutResult = timeoutResult;
this.timeoutValue = timeoutValue;
this.timeoutResult = timeoutResult;
}

View File

@@ -288,7 +288,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig
/**
* Return if automatic addition of CORS headers has been disabled.
* @since 4.1.2
* @see #setSuppressCors(boolean)
* @see #setSuppressCors
*/
public boolean shouldSuppressCors() {
return this.suppressCors;