Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 14, 2023
1 parent 16bbcb6 commit bae95ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/htmlunit/css/CssStyleSheet.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ public class CssStyleSheet implements Serializable {
/** The HTML element which owns this stylesheet. */
private final HtmlElement owner_;

/** The collection of rules defined in this style sheet. */
private org.htmlunit.javascript.host.css.CSSRuleList cssRules_;
private List<Integer> cssRulesIndexFix_;

/** The CSS import rules and their corresponding stylesheets. */
private final Map<CSSImportRuleImpl, CssStyleSheet> imports_ = new HashMap<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private void refreshCssRules() {
continue;
}

final CSSRule cssRule = org.htmlunit.javascript.host.css.CSSRule.create(this, rule);
final CSSRule cssRule = CSSRule.create(this, rule);
if (null == cssRule) {
cssRulesIndexFix_.add(pos);
}
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/htmlunit/archunit/ArchitectureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public class ArchitectureTest {
public static final ArchRule awtPackageRule = noClasses()
.that()
.doNotHaveFullyQualifiedName("org.htmlunit.html.DoTypeProcessor")
.and().doNotHaveFullyQualifiedName("org.htmlunit.javascript.host.css.ComputedCSSStyleDeclaration")
.and().doNotHaveFullyQualifiedName("org.htmlunit.html.applets.AppletContextImpl")
.and().resideOutsideOfPackage("org.htmlunit.platform..")
.and().resideOutsideOfPackage("org.htmlunit.corejs.javascript.tools..")
Expand Down

0 comments on commit bae95ff

Please sign in to comment.