Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2401 - 2410 of 2,590 for throwIt (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/DialectVersionTest.java

            assertTrue(DialectVersion.SMB311.isSMB2());
        }
    
        @Test
        @DisplayName("Should have correct dialect codes for SMB2+ versions")
        void testDialectCodes() {
            // SMB1 should throw UnsupportedOperationException
            assertThrows(UnsupportedOperationException.class, () -> {
                DialectVersion.SMB1.getDialect();
            });
    
            // SMB2+ versions should have valid dialect codes
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. architecture/standards/0008-use-nullaway.md

    Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this.
    Not all client code is compiled with NullAway.
    Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. 
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * Classes are forced to have consistent nullability annotations.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Should not match with different attributes
            assertFalse(fileInfo.matches(1024L, 1000L, 0x10));
        }
    
        @Test
        public void testThreadSafety() throws InterruptedException {
            // Test concurrent updates from multiple threads
            Thread[] threads = new Thread[10];
    
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(2), stats.get(EventType.SECURITY_VIOLATION), "Should have 2 security violation events");
        }
    
        @Test
        @DisplayName("Test concurrent logging")
        void testConcurrentLogging() throws InterruptedException {
            int threadCount = 10;
            int eventsPerThread = 100;
            Thread[] threads = new Thread[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            this.logger = logger;
        }
    
        public MavenExecutionPlan resolveBuildPlan(
                MavenSession session, MavenProject project, TaskSegment taskSegment, Set<Artifact> projectArtifacts)
                throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException,
                        PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

            fullWidthHalfWidth = Transliterator.getInstance("Fullwidth-Halfwidth");
            anyLower = Transliterator.getInstance("Any-Lower");
        }
    
        @Override
        public void init() throws IOException {
            // nothing
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... lang) {
            final List<String> list = new ArrayList<>();
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/xml/DomUtil.java

            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * Encodes the value of an attribute.
         *
         * @param s
         *            The attribute value.
         * @return The encoded attribute value.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                    result.lookup = shellContext.lookup;
                    result.eventSpyDispatcher = shellContext.eventSpyDispatcher;
                };
            }
    
            @Override
            public void close() throws Exception {
                shellMavenInvoker.close();
                shellEncryptInvoker.close();
                shellUpgradeInvoker.close();
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
      private final class FreshInvocationHandler extends AbstractInvocationHandler {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsAccessTokenBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends AccessToken> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top