* @throws IOException if any I/O error occurs
* @since 7275
*/
public synchronized void addMapCSS(String url) throws ParseException, IOException {
CheckParameterUtil.ensureParameterNotNull(url, "url");
CachedFile cache = new CachedFile(url);
try (InputStream s = cache.getInputStream()) {
List<TagCheck> tagchecks = TagCheck.readMapCSS(new BufferedReader(UTFInputStreamReader.create(s)));
checks.remove(url);
checks.putAll(url, tagchecks);
// Check assertions, useful for development of local files
if (Main.pref.getBoolean("validator.check_assert_local_rules", false) && Utils.isLocalUrl(url)) {