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 105885 - [REFACTORING] check validity of new name during rename
Summary: [REFACTORING] check validity of new name during rename
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-06 15:16 UTC by Tomas Danek
Modified: 2009-02-19 23:01 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 Tomas Danek 2007-06-06 15:16:05 UTC
Product Version: NetBeans IDE Dev (Build 200706060000) Java: 1.6.0_01; Java
HotSpot(TM) Client VM 1.6.0_01-b06 System: Linux version 2.6.20-15-generic
running on i386; UTF-8; en_US (nb)
-----------------------------------
currently you're free to rename e.g. @something to @12345
Comment 1 Jiri Kovalsky 2007-07-03 14:02:33 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 2 Torbjorn Norbye 2007-08-10 00:52:37 UTC
Agreed. This is started (it checks for valid method names and class names), but the field check needs some work; it
doesn't realize that @123 is invalid since digits are allowed but not right after the @ (this is handled okay for methods).
Comment 3 Erno Mononen 2008-12-12 12:44:09 UTC
Fixed in 2be5684aebe3.
Comment 4 Quality Engineering 2008-12-13 17:04:27 UTC
Integrated into 'main-golden', will be available in build *200812131401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2be5684aebe3
User: Erno Mononen <emononen@netbeans.org>
Log: #105885: check validity of new name during rename