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:
Xiaoyan Lin 2016-02-05 16:40:54 -08:00 committed by Scott Mitchell
parent b9682a26b1
commit f59392d9f5

View File

@ -103,7 +103,7 @@ public final class CorsConfigBuilder {
*
* @return {@link CorsConfigBuilder} to support method chaining.
*/
CorsConfigBuilder allowNullOrigin() {
public CorsConfigBuilder allowNullOrigin() {
allowNullOrigin = true;
return this;
}