Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSameTree (0.08 sec)

  1. src/test/java/jcifs/SmbTreeHandleTest.java

            assertFalse(smbTreeHandle.isSameTree(anotherHandle), "isSameTree should return false for a different handle");
        }
    
        /**
         * Test for isSMB2() method.
         * Verifies that the method returns the correct SMB protocol version status.
         */
        @Test
        void testIsSMB2() {
            when(smbTreeHandle.isSMB2()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTreeHandle.java

        /**
         * Checks if this tree handle refers to the same tree as another
         * @param th the tree handle to compare with
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree(SmbTreeHandle th);
    
        /**
         * Checks if this tree handle uses SMB2 or later protocol
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top