Make "CorsConfigBuilder.allowNullOrigin()" public
Motivation: "CorsConfigBuilder.allowNullOrigin()" should be public otherwise people can not set it. See #4835 Modifications: Make "CorsConfigBuilder.allowNullOrigin()" public. Result: The user can call "CorsConfigBuilder.allowNullOrigin()" now.
This commit is contained in:
parent
b9682a26b1
commit
f59392d9f5
@ -103,7 +103,7 @@ public final class CorsConfigBuilder {
|
||||
*
|
||||
* @return {@link CorsConfigBuilder} to support method chaining.
|
||||
*/
|
||||
CorsConfigBuilder allowNullOrigin() {
|
||||
public CorsConfigBuilder allowNullOrigin() {
|
||||
allowNullOrigin = true;
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user