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.

Bug 238739 - By Class/interface renaming some comments are damaged
Summary: By Class/interface renaming some comments are damaged
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-24 11:08 UTC by rudyment
Modified: 2013-12-05 02:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2013-11-24 11:08:01 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08

When I rename a class/interface, 
the comments at attributes referring to instances of the renamed type are damaged.

Exapmple:
I renamed the "IMoveable" interface to "IMovable"

Then the code:

    /** Přesouvané objekty. */
    private IMoveable moveable1, moveable2;

was refactored to

    /** Přesouvané objekty. */Přesouvané objekty. */
    private IMovable moveable1,

    /**
     * Přesouvané objekty.
     */
    moveable2;
Comment 1 Ralph Ruijs 2013-11-27 10:29:07 UTC
changeset   : 349bbf1105ac
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Wed Nov 27 11:12:47 CET 2013
summary     : #238739 - By Class/interface renaming some comments are damaged
Comment 2 Ralph Ruijs 2013-11-27 15:02:14 UTC
0b97503de9cc fixes a problem introduced by the above changeset.
Comment 3 Quality Engineering 2013-12-05 02:53:32 UTC
Integrated into 'main-silver', will be available in build *201312050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0b97503de9cc
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #238739 - HTML tags are not part of TextTree