Skip to content

Commit

Permalink
bridge: remove useless null check
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Sep 14, 2023
1 parent 333198d commit ae3f3de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ protected List<GVTFont> getFontList(BridgeContext ctx, Element element, Map<Attr
GVTFontFamily fontFamily;
fontFamily = SVGFontUtilities.getFontFamily(element, ctx, fontFamilyName, fontWeightString,
fontStyleString);
if (fontFamily != null && fontFamily instanceof UnresolvedFontFamily) {
if (fontFamily instanceof UnresolvedFontFamily) {
fontFamily = ctx.getFontFamilyResolver().resolve(fontFamily.getFamilyName());
}
if (fontFamily == null) {
Expand Down

0 comments on commit ae3f3de

Please sign in to comment.