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.
"Also Rename Project Folder" check box in Rename Project dialog doesn't work. The project folder is always renamed.
*** Issue 63236 has been marked as a duplicate of this issue. ***
P2 I think.
*** Issue 63903 has been marked as a duplicate of this issue. ***
In order to fix this bug, I would like to do a small change in sematic of calling MoveOperationImplementation.notifyMoved and CopyOperationImplementation.notifyCopied. The first argument of these methods is original (source) project, and these methods are called on both original and moved/copied project. Currently, the original project reference is passed for both calls (for the original and new project). I would like to change this to pass "null" as "original" when these methods are called on the original project. I am attaching patch to fix this problem (from the API point of view).
Created attachment 24754 [details] Patch.
Sensible. For style, prefer the condition if (original == null) { to if (null == original) { and so on.
Jan "if (null == original)" is C style programming to avoid problems with typo "original = null" instead of "original == null". Both conditions are valid in C but they are different. In Java it is not necessary.
For dev-rev: fine with me.
Seems good to me.
No objection from my side.
I would like to commit the change tomorrow, if there are no objections.
Hopefully fixed in the trunk. See attached log for more details.
Created attachment 24943 [details] Commit log.
*** Issue 66455 has been marked as a duplicate of this issue. ***