- Sort Score
- Num 10 results
- Language All
Results 2061 - 2070 of 3,799 for thrown (0.32 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
(k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testComputeIfPresent_unsupportedAbsent() { try { getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); });Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* @param useDefaultExcludes whether to augment excludes with default SCM exclusion patterns * @return a PathMatcher that can be used to test if paths should be included * @throws NullPointerException if baseDirectory is null */ @Nonnull PathMatcher createPathMatcher( @Nonnull Path baseDirectory, Collection<String> includes,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 21 19:37:56 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceLocator.java
* @throws CIFSException if the type cannot be determined */ int getType() throws CIFSException; /** * Determines whether this resource represents a workgroup reference. * * @return whether this is a workgroup reference * @throws CIFSException if the determination cannot be made */ boolean isWorkgroup() throws CIFSException; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
* Encodes a wide string pointer in NDR format. * * @param buf the NDR buffer * @param str the string to encode (can be null) * @throws NdrException if encoding fails */ private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException { if (str == null || str.isEmpty()) { buf.enc_ndr_long(0); // NULL pointer } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
public void testAcceptReturnsTrueWhenAttributesMatch() throws Exception { SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL); assertTrue(filter.accept(file), "Attributes match should be accepted"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
throws InterruptedException, ExecutionException { assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertTrue(latch.await(5, SECONDS)); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals(expectedValue, future.get()); } public void testCancelledFuture() throws InterruptedException, ExecutionException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java
/** * Parses the specified version string, for example "1.0". * * @param version the version string to parse, must not be {@code null} * @return the parsed version, never {@code null} * @throws VersionParserException if the string violates the syntax rules of this scheme * @see org.apache.maven.api.Session#parseVersion(String) */ @Nonnull Version parseVersion(@Nonnull String version); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 2.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
*/ public static void main(String[] args) throws IOException { int exitCode = new MavenUpCling().run(args, null, null, null, false); System.exit(exitCode); } /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java
package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author shinsuke * */ public class StringConversionUtilTest extends TestCase { /** * @throws Exception */ public void testFromWindowsMapping() throws Exception { assertNull(StringConversionUtil.fromWindowsMapping(null)); assertEquals("", StringConversionUtil.fromWindowsMapping(""));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
if (StringUtil.isBlank(regex)) { throw new CrawlerSystemException( "URL pattern regular expression is null or blank. Cannot register client without a valid pattern."); } if (client == null) { throw new CrawlerSystemException("CrawlerClient instance is null. Cannot register null client."); }
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 7.3K bytes - Click Count (0)