- Sort Score
- Result 10 results
- Languages All
Results 1711 - 1720 of 4,617 for New (0.03 sec)
-
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
public static final WithExceptionalConstructor INSTANCE = new WithExceptionalConstructor("whatever"); public WithExceptionalConstructor() { throw new RuntimeException(); } private WithExceptionalConstructor(String unused) {} } private static class WithPublicConstant { @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
final String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY); final StringBuilder sb = new StringBuilder(); try (BufferedReader br = new BufferedReader(new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream(getSuggestAnalyzerPath())))) { String line; while ((line = br.readLine()) != null) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/SitemapsException.java
* and provides constructors for wrapping other exceptions or creating a new exception with a message. */ public class SitemapsException extends CrawlerSystemException { private static final long serialVersionUID = 1L; /** * Constructs a new SitemapsException with the specified detail message and cause. * @param message the detail messageRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* </p> * * <pre> * copyBeanToMap(srcBean, destMap); * copyMapToBean(srcMap, destBean); * </pre> * <p> * You can also create a new instance of the destination JavaBean or {@link Map} and copy to it. * </p> * * <pre> * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class); * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
return policy == Policies.DISABLED ? new ReentrantReadWriteLock(fair) : new CycleDetectingReentrantReadWriteLock(new LockGraphNode(lockName), fair); } // A static mapping from an Enum type to its set of LockGraphNodes. private static final ConcurrentMap< Class<? extends Enum<?>>, Map<? extends Enum<?>, LockGraphNode>> lockGraphNodesPerType = new MapMaker().weakKeys().makeMap();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} public static <T> Callable<T> callableThrowing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(RuntimeException e) { return new Runnable() { @Override public void run() { throw e; } }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertNotNull(result); assertFalse(result.isPresent()); } public void test_ofNullable_withDate() { Date testValue = new Date(); OptionalEntity<Date> result = OptionalUtil.ofNullable(testValue); assertNotNull(result); assertTrue(result.isPresent()); assertEquals(testValue, result.get()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
} catch (final IllegalAccessException ex) { throw new IllegalAccessRuntimeException(field.getDeclaringClass(), ex); } } /** * Sets the value of the given {@link Field} representing a {@code static} field to the specified new value. * * @param field the field (must not be {@literal null}) * @param value the new value for the {@literal static} field
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
SmbSessionImpl session = mock(SmbSessionImpl.class); when(tree.getSession()).thenReturn(session); when(session.getSessionKey()).thenReturn(new byte[] { 1, 2, 3 }); byte[] key = target.getSessionKey(); assertArrayEquals(new byte[] { 1, 2, 3 }, key); verify(tree, times(1)).getSession(); verify(session, times(1)).getSessionKey(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange - use a real cause so message is derived from cause.toString() Throwable cause = new IllegalStateException("proto mismatch"); String expectedMessage = cause.toString(); // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(cause); // Assert - cause preserved, message derived from cause assertSame(cause, ex.getCause());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)