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 42732 - Need method in PropertyUtils to verify a string for usability as an ID (e.g. Ant property name)
Summary: Need method in PropertyUtils to verify a string for usability as an ID (e.g. ...
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: API
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-03 19:41 UTC by Jesse Glick
Modified: 2006-03-24 10:08 UTC (History)
1 user (show)

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 Jesse Glick 2004-05-03 19:41:26 UTC
And perhaps some method to translate another
string to an ID-friendly one (TBD). Useful in
various places.
Comment 1 David Konecny 2004-05-14 14:18:54 UTC
I need this too in issue 43190. I will take care about that.
Comment 2 David Konecny 2004-05-17 12:46:15 UTC
Fixed in:
src/org/netbeans/spi/project/support/ant/PropertyUtils.java;
new revision: 1.12; previous revision: 1.11
test/unit/src/org/netbeans/spi/project/support/ant/PropertyUtilsTest.java;
new revision: 1.7; previous revision: 1.6
Comment 3 David Konecny 2004-05-17 16:58:18 UTC
Using String instead of CharSequence in API signatures:

src/org/netbeans/spi/project/support/ant/PropertyUtils.java;
new revision: 1.13; previous revision: 1.12
test/unit/src/org/netbeans/spi/project/support/ant/PropertyUtilsTest.java;
new revision: 1.8; previous revision: 1.7
Comment 4 Marian Mirilovic 2005-12-20 15:48:55 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.