Revision 9520 org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.impl/src/main/java/org/gvsig/online/lib/impl/OnlineSiteImpl.java
OnlineSiteImpl.java | ||
---|---|---|
210 | 210 |
// throw new IllegalArgumentException("url is required"); |
211 | 211 |
// } |
212 | 212 |
// URL url = new URL(s); |
213 |
this.clear(); |
|
213 | 214 |
URL url = (URL) Json.toObject(json, "url"); |
214 | 215 |
JsonObject uirc = json.getJsonObject("userIdentificationRequesterConfig"); |
215 | 216 |
if( uirc == null ) { |
... | ... | |
217 | 218 |
} else { |
218 | 219 |
this.userIdentificationRequesterConfig = OnlineLocator.getOnlineManager().getUserIdentificationRequester(uirc); |
219 | 220 |
} |
220 |
this.clear(); |
|
221 | 221 |
this.urlbase = url; |
222 | 222 |
} catch (Exception ex) { |
223 | 223 |
throw new IllegalArgumentException("url is required", ex); |
Also available in: Unified diff