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.

View | Details | Raw Unified | Return to bug 22645
Collapse All | Expand All

(-)DataObject.java (-2 / +7 lines)
Lines 565-572 Link Here
565
                    }
565
                    }
566
                });
566
                });
567
        }
567
        }
568
        if (files[0] != files[1])
568
		// P. Hrebejk - commenting the condition out. This should
569
            firePropertyChange (PROP_PRIMARY_FILE, files[0], files[1]);
569
		// be considered a hack in favor of modules which depend
570
		// on firing the event. For more information please see:
571
		// http://www.netbeans.org/issues/show_bug.cgi?id=22645
572
		// http://www.netbeans.org/issues/show_bug.cgi?id=22258
573
		// if (files[0] != files[1])
574
		firePropertyChange (PROP_PRIMARY_FILE, files[0], files[1]);
570
        
575
        
571
        fireOperationEvent (new OperationEvent.Rename (this, oldName), OperationEvent.RENAME);
576
        fireOperationEvent (new OperationEvent.Rename (this, oldName), OperationEvent.RENAME);
572
577

Return to bug 22645