Fix javadoc tags.
[arachne.git] / src / net / pterodactylus / arachne / parser / HtmlEditorKitParser.java
index 47e2d52..3cf84ba 100644 (file)
@@ -50,7 +50,7 @@ public class HtmlEditorKitParser extends HTMLEditorKit.ParserCallback implements
        private StringBuilder linkText;
 
        /**
-        * {@inheritdoc}
+        * {@inheritDoc}
         *
         * @see net.pterodactylus.arachne.parser.Parser#parse(ParserListener,
         *      InputStream, String)
@@ -89,11 +89,7 @@ public class HtmlEditorKitParser extends HTMLEditorKit.ParserCallback implements
                                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) {