Polishing
This commit is contained in:
@@ -154,7 +154,7 @@ public class DefaultPartHttpMessageReader extends LoggingCodecSupport implements
|
||||
* @see Schedulers#newBoundedElastic
|
||||
*/
|
||||
public void setBlockingOperationScheduler(Scheduler blockingOperationScheduler) {
|
||||
Assert.notNull(blockingOperationScheduler, "FileCreationScheduler must not be null");
|
||||
Assert.notNull(blockingOperationScheduler, "'blockingOperationScheduler' must not be null");
|
||||
this.blockingOperationScheduler = blockingOperationScheduler;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -72,7 +72,7 @@ public class ServletServerHttpResponse implements ServerHttpResponse {
|
||||
|
||||
@Override
|
||||
public void setStatusCode(HttpStatusCode status) {
|
||||
Assert.notNull(status, "HttpStatus must not be null");
|
||||
Assert.notNull(status, "HttpStatusCode must not be null");
|
||||
this.servletResponse.setStatus(status.value());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user