Merge pull request #60 from juanluisrp/patch-1

Change Boolean OR operator in createStore method
This commit is contained in:
Carlo Cancellieri 2013-03-18 05:11:37 -07:00
commit 2e9d4883b0

View File

@ -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/")