This commit is contained in:
Juan Luis Rodríguez Ponce 2013-03-18 03:39:22 -07:00
commit ae7c175268

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