Github user solomax commented on a diff in the pull request: https://github.com/apache/wicket/pull/273#discussion_r178463264 --- Diff: wicket-core/src/main/java/org/apache/wicket/markup/head/CssHeaderItem.java --- @@ -200,7 +207,13 @@ public static CssReferenceHeaderItem forReference(ResourceReference reference, public static CssReferenceHeaderItem forReference(ResourceReference reference, PageParameters pageParameters, String media, String condition, String rel) { - return new CssReferenceHeaderItem(reference, pageParameters, media, condition, rel); + final CssReferenceHeaderItem cssReferenceHeaderItem = new CssReferenceHeaderItem(reference, pageParameters, media, condition, rel); + if(reference instanceof IntegrityAttributed) { --- End diff -- whitespaces: space after `if`, line break before `{` and the whole PR
---