Skip to content

Commit a9d22f3

Browse files
committed
Remove collectCssDeclarations form ICssResolver interface
RND-1056
1 parent b6cc364 commit a9d22f3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main/java/com/itextpdf/html2pdf/css/resolve/DefaultCssResolver.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -307,17 +307,6 @@ private void putDeclarationInMapIfValid(Map<String, String> stylesMap, CssDeclar
307307
}
308308
}
309309

310-
@Override
311-
public void collectCssDeclarations(INode rootNode, ResourceResolver resourceResolver, AbstractCssContext cssContext) {
312-
if (cssContext instanceof CssContext) {
313-
collectCssDeclarations(rootNode, resourceResolver, (CssContext) cssContext);
314-
}
315-
else {
316-
throw new Html2PdfException("custom AbstractCssContext implementations are not supported yet");
317-
}
318-
}
319-
320-
321310
/**
322311
* Collects CSS declarationss.
323312
*

0 commit comments

Comments
 (0)