Change Boolean OR operator in createStore method

Change bit OR operator in if condition for boolean OR operator.
This commit is contained in:
Juan Luis Rodríguez Ponce 2013-03-18 11:38:30 +01:00
parent b034077930
commit 0253bbe423

View File

@ -773,7 +773,7 @@ public class GeoServerRESTPublisher {
ParameterConfigure configure, NameValuePair... params) throws FileNotFoundException,
IllegalArgumentException {
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");
}
StringBuilder sbUrl = new StringBuilder(restURL).append("/rest/workspaces/")