Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for treeAcquired (0.05 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

                    return;
                }
                final boolean wasAcquired = this.treeAcquired;
                log.debug("Switching tree");
                if (t != null) {
                    log.debug("Acquired tree on switch " + t);
                    t.acquire();
                    this.treeAcquired = true;
                } else {
                    this.treeAcquired = false;
                }
    
                this.tree = t;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
        // Helper to set private flag 'treeAcquired'
        private static void setTreeAcquired(SmbTreeConnection c, boolean val) {
            try {
                Field f = SmbTreeConnection.class.getDeclaredField("treeAcquired");
                f.setAccessible(true);
                f.set(c, val);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top