final List<CssLintError> errors = new Gson().fromJson(json, type);
LOG.debug("Errors: {}", errors);
throw new CssLintException().setErrors(errors);
}
LOG.debug("isValid: {}", valid);
watch.stop();
LOG.debug(watch.prettyPrint());
}
private String buildCssLintScript(final String data) {
return String.format("var result = CSSLint.verify(%s,%s).messages", data, optionsBuilder.buildFromCsv(options));