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.
In the following, the javadoc for the constructor is lost. In version 7.0RC1 === === Before === /** * This specifies a translation for the map command. * The translations occur during typebuf getChar processing. */ public static class Mapping { String lhs; String rhs; int mode; boolean noremap; boolean isUnmap; boolean isHidden; /** * Define a mapping. * @param lhs from * @param rhs to * @param mode which mode(s) the mapping applies to * @param noremap if true the rhs should not be scanned for mappings */ public Mapping(String lhs, String rhs, int mode, boolean noremap) { this.lhs = lhs; this.rhs = rhs; this.mode = mode; this.noremap = noremap; } /** * @return the vim mode(s) for which the mapping is valid */ public int getMode() { return mode; } === === After === /** * This specifies a translation for the map command. * The translations occur during typebuf getChar processing. */ /** * * @author Ernie Rael <err at raelity.com> */ public class Mapping { String lhs; String rhs; int mode; boolean noremap; boolean isUnmap; boolean isHidden; public Mapping(String lhs, String rhs, int mode, boolean noremap) { this.lhs = lhs; this.rhs = rhs; this.mode = mode; this.noremap = noremap; } /** * @return the vim mode(s) for which the mapping is valid */ public int getMode() { return mode; }
It looks like GeneratorUtilities.importComments does copy javadoc comments for methods, but does not copy javadoc comments for constructors.
TreeMaker.setLabel did not copy the comments, although it should, IMO: http://hg.netbeans.org/jet-main/rev/3a9129acfce4
Integrated into 'main-golden', will be available in build *201104270000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3a9129acfce4 User: Jan Lahoda <jlahoda@netbeans.org> Log: #197512: TreeMaker.setLabel should also copy comments.
Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3a9129acfce4 User: Jan Lahoda <jlahoda@netbeans.org> Log: #197512: TreeMaker.setLabel should also copy comments.