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.
1. Choose Safely Delete for a method that is referenced by other code. 2. In the Safe Delete dialog box, click Next (ignoring the warning). In the Refactoring window, the text reads "Safely delete method..." This is wrong, because it is no longer a safe delete. Better to say something like "Delete method ... and keep references to that method."
Problem is, that this text is static. We don't know, whether there are some references or not. We should probably use: "Delete method ... and keep references to that method if any." Also there are similar messages for similar situations: "Delete element(s) and keep references to them if any." "Delete classes and and keep references to them if any." "Delete methods and keep keep references to them if any." Is it acceptable and English enough?
Yeah, I figured it might be a case of static text. Maybe it should be more dynamic, but obviously that's not a problem to fix for this release. I agree with your wording, except that you should put a comma (,) before "if any", e.g. "Delete element(s) and keep references to them, if any."
OK. Thanks for help. Checking in Bundle.properties; /cvs/refactoring/src/org/netbeans/modules/refactoring/Bundle.properties,v <-- Bundle.properties new revision: 1.9; previous revision: 1.8 done Checking in ui/Bundle.properties; /cvs/refactoring/src/org/netbeans/modules/refactoring/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.83; previous revision: 1.82 done