Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for brace (0.02 sec)

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

         * @return tree connection with increased usage count
         */
        public SmbTreeConnection acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire tree connection " + usage + " " + this);
            }
    
            if (usage == 1) {
                synchronized (this) {
                    try (SmbTreeImpl t = getTree()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

            return actionClass;
        }
    
        /**
         * Overrides fillInStackTrace to return null for performance optimization.
         * This prevents stack trace generation for this exception type.
         *
         * @return null to skip stack trace generation
         */
        @Override
        public synchronized Throwable fillInStackTrace() {
            return null;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that {@link #toString()} includes a stack trace when a root cause
         * is present.
         */
        @Test
        @DisplayName("toString with root cause contains stack trace")
        void testToStringWithRootCause() {
            RuntimeException cause = new RuntimeException("boom");
            SmbException ex = new SmbException(0, cause);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Security-focused test cases for SmbSessionImpl to verify race condition fixes.
     */
    public class SmbSessionImplSecurityTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

                writer.accept("Thread: " + entry.getKey());
                final StackTraceElement[] trace = entry.getValue();
                for (final StackTraceElement element : trace) {
                    writer.accept("\tat " + element);
                }
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            dstIndex += 2;
            if (this.digest != null) {
                SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex);
            } else {
                log.trace("SmbComClose without a digest");
            }
            return 6;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java

        public String getUserId() {
            return username;
        }
    
        /**
         * Returns a string representation of this credential.
         *
         * @return A string representation containing the username in braces
         */
        @Override
        public String toString() {
            return "{" + username + "}";
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/exception/FessSystemException.java

         *
         * @param message the detail message describing the exception
         * @param enableSuppression whether suppression is enabled or disabled
         * @param writableStackTrace whether the stack trace should be writable
         */
        protected FessSystemException(final String message, final boolean enableSuppression, final boolean writableStackTrace) {
            super(message, null, enableSuppression, writableStackTrace);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbExceptionTest.java

        @Test
        @DisplayName("Should preserve stack trace information")
        void testStackTracePreservation() {
            // When
            SmbException exception = new SmbException("Test exception");
    
            // Then
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Should contain this test method in stack trace
            boolean foundTestMethod = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

        public void release() {
            final long usage = this.usageCount.decrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Release transport " + usage + " " + this);
            }
    
            if (usage == 0) {
                if (log.isTraceEnabled()) {
                    log.trace("Transport usage dropped to zero " + this);
                }
            } else if (usage < 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top