Change Boolean OR operator in createStore method
Change bit OR operator in if condition for boolean OR operator.
This commit is contained in:
parent
b034077930
commit
0253bbe423
@ -773,7 +773,7 @@ public class GeoServerRESTPublisher {
|
|||||||
ParameterConfigure configure, NameValuePair... params) throws FileNotFoundException,
|
ParameterConfigure configure, NameValuePair... params) throws FileNotFoundException,
|
||||||
IllegalArgumentException {
|
IllegalArgumentException {
|
||||||
if (workspace == null || dsType == null || storeName == null || method == null
|
if (workspace == null || dsType == null || storeName == null || method == null
|
||||||
| extension == null || mimeType == null || uri == null) {
|
|| extension == null || mimeType == null || uri == null) {
|
||||||
throw new IllegalArgumentException("Null argument");
|
throw new IllegalArgumentException("Null argument");
|
||||||
}
|
}
|
||||||
StringBuilder sbUrl = new StringBuilder(restURL).append("/rest/workspaces/")
|
StringBuilder sbUrl = new StringBuilder(restURL).append("/rest/workspaces/")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user