- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isSameTree (0.05 seconds)
-
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
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(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0)