Skip to content

Commit 1eed592

Browse files
committed
[REGRESSION] style was no longer printed out. Thanks to @sideshowbarker for the notification
1 parent 83d7505 commit 1eed592

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

org/w3c/css/css/CssValidator.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,25 +186,20 @@ private int handleRequest(ApplContext ac,
186186
String title, StyleSheet styleSheet,
187187
String output, int warningLevel,
188188
boolean errorReport) throws Exception {
189-
190189
if (styleSheet == null) {
191190
throw new IOException(ac.getMsg().getServletString("process") + " "
192191
+ title);
193192
}
194-
195193
styleSheet.findConflicts(ac);
196-
197194
StyleReport style = StyleReportFactory.getStyleReport(ac, title,
198195
styleSheet,
199196
output,
200197
warningLevel);
201-
202198
if (!errorReport) {
203199
style.desactivateError();
204200
}
205-
201+
style.print(out);
206202
return styleSheet.getErrors().getErrorCount();
207-
208203
}
209204

210205
public void handleCSSStyleSheet(ApplContext ac, Reader reader, URL docref) {

0 commit comments

Comments
 (0)