private StringBuilder linkText;
/**
- * {@inheritdoc}
+ * {@inheritDoc}
*
* @see net.pterodactylus.arachne.parser.Parser#parse(ParserListener,
* InputStream, String)
linkTarget = href;
inLink = true;
linkText = new StringBuilder();
- linkTitle = null;
- String title = (String) attributeSet.getAttribute(HTML.Attribute.TITLE);
- if (title != null) {
- linkTitle = title;
- }
+ linkTitle = (String) attributeSet.getAttribute(HTML.Attribute.TITLE);
}
}
if (inLink) {