Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateType (0.04 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertNotNull(s);
        }
    
        @Test
        @DisplayName("updateType overrides computed type until changed")
        void testUpdateType() throws Exception {
            // No context mocks needed for this test
            SmbResourceLocatorImpl l = locator("smb://server/share/path");
            l.updateType(SmbConstants.TYPE_SERVER);
            assertEquals(SmbConstants.TYPE_SERVER, l.getType());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    log.debug("Share is IPC " + this.share);
                }
                return true;
            }
            return false;
        }
    
        /**
         * @param t
         */
        void updateType(final int t) {
            this.type = t;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getType()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top