This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200711261600 ] [ JDK VERSION : 1.6.0_03 ] Example: /** * Lädt ein XML-Document aus einer Datei. * @param fileName Dateiname * @return Document * @throws javax.xml.parsers.ParserConfigurationException bei einem ParserConfiguration-Fehler * @throws org.xml.sax.SAXException bei einem SAX-Fehler * @throws java.io.IOException bei einem IO-Fehler */ public static Document loadDocument(File file) throws ParserConfigurationException, SAXException, IOException { DocumentBuilder documentBuilder; Document doc; documentBuilder = getDocumentBuilder(); doc = documentBuilder.parse(file); return (doc); } // loadDocument Now let the JavaDoc hint remove the "@param fileName" line. But it also removes the "@return Document" line!
This bug render the hint pretty much useless unless it is the last item. Please fix it.
*** Issue 125172 has been marked as a duplicate of this issue. ***
fixed in /cvs/javadoc/src/org/netbeans/modules/javadoc/hints/RemoveTagFix.java,v <-- RemoveTagFix.java new revision: 1.5; previous revision: 1.4 /cvs/javadoc/test/unit/src/org/netbeans/modules/javadoc/hints/RemoveTagFixTest.java,v <-- RemoveTagFixTest.java new revision: 1.2; previous revision: 1.1