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 207571
Collapse All | Expand All

(-)a/dlight.remote.impl/src/org/netbeans/modules/remote/impl/fs/RemoteDirectory.java (-1 / +1 lines)
Lines 801-807 Link Here
801
                    storageRef = new SoftReference<DirectoryStorage>(newStorage);
801
                    storageRef = new SoftReference<DirectoryStorage>(newStorage);
802
                }
802
                }
803
                fo.setPendingRemoteDelivery(false);
803
                fo.setPendingRemoteDelivery(false);
804
                fireFileChangedEvent(getListeners(), new FileEvent(fo, fo, true));
804
                fireFileChangedEvent(fo.getListenersWithParent(), new FileEvent(fo, fo, true));
805
            }
805
            }
806
        } finally {
806
        } finally {
807
            writeLock.unlock();
807
            writeLock.unlock();
(-)a/dlight.remote.impl/src/org/netbeans/modules/remote/impl/fs/RemotePlainFile.java (-1 lines)
Lines 239-245 Link Here
239
        public void close() throws IOException {
239
        public void close() throws IOException {
240
            delegate.close();
240
            delegate.close();
241
            FileEvent ev = new FileEvent(RemotePlainFile.this, RemotePlainFile.this, true);
241
            FileEvent ev = new FileEvent(RemotePlainFile.this, RemotePlainFile.this, true);
242
            fireFileChangedEvent(getListenersWithParent(), ev);
243
            RemotePlainFile.this.setPendingRemoteDelivery(true);
242
            RemotePlainFile.this.setPendingRemoteDelivery(true);
244
            WritingQueue.getInstance(getExecutionEnvironment()).add(RemotePlainFile.this);
243
            WritingQueue.getInstance(getExecutionEnvironment()).add(RemotePlainFile.this);
245
        }
244
        }

Return to bug 207571