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.
Summary: | Comments in property files are associated with the wrong value. | ||
---|---|---|---|
Product: | utilities | Reporter: | Jana Maleckova <janie> |
Component: | Properties | Assignee: | Jan Peska <JPESKA> |
Status: | NEW --- | ||
Severity: | blocker | CC: | MackSix |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jana Maleckova
2008-09-25 12:57:48 UTC
*** Bug 210654 has been marked as a duplicate of this bug. *** Comments in properties files are not associated with the right "element" in the file. Looking at the example below, an entry gets all the comments defined above it. Properties files should handle comments more carefully and not assign the initial comment to the first entry, but to the file. (if separated with an empty line) # To change this template, choose Tools | Templates # and open the template in the editor. #First item NewJFrame.jLabel8.text=jLabel8 #End of first item #Second item NewJFrame.jLabel10.text=jLabel10 #End of second item |