mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 08:59:09 +00:00
Polishing
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user