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 28590 - Key rename [refactoring]
Summary: Key rename [refactoring]
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-08 13:23 UTC by pfelenda
Modified: 2011-11-28 09:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2002-11-08 13:23:31 UTC
How to reproduce :

- Open any class in form editor
- Open properties file (e.g. a.properties) in
property editor
- Change name of any component(e.g. text of JLabel
component) from java.lang.String to i18n string
(add new key to the a.properties file from form
editor properties)
- Change value of key of the text you added to
properties file from form editor properties (make
the change in form editor properties)
-> There is no changes in properties file in
properties editor. The value of the key is same as
before change.
Comment 1 _ pkuzel 2003-02-04 19:16:53 UTC
A new key value pair is inserted.

Unfortunately the old one is not removed. Key defines property file
entry identity. 

It's kind of refactoring. Implementation can track if user changed
only the key and then use rename operation on the key (it should
probably also rename the key usages in all property files in bundle).