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

(-)a/openide.filesystems/src/org/openide/filesystems/DeepListener.java (-4 / +5 lines)
Lines 82-94 Link Here
82
    }
82
    }
83
83
84
    @Override
84
    @Override
85
    public void run() {
85
    public synchronized void run() {
86
        FileObject fo = FileUtil.toFileObject(path);
86
        if (watching != null) {
87
        if (fo != null) {
87
            watching.removeRecursiveListener(this);
88
            fo.removeRecursiveListener(this);
88
            watching = null;
89
        }
89
        }
90
        removed = true;
90
        removed = true;
91
        keep.remove(this);
91
        keep.remove(this);
92
92
    }
93
    }
93
94
94
    private synchronized void relisten() {
95
    private synchronized void relisten() {

Return to bug 199296