- Sort Score
- Result 10 results
- Languages All
Results 2191 - 2200 of 4,617 for New (0.03 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
for (ImmutableList<Class<?>> sig : allSignatures(Object.class)) { Method checkArgumentMethod = Preconditions.class.getMethod("checkNotNull", sig.toArray(new Class<?>[] {})); checkArgumentMethod.invoke( null /* static method */, getParametersForSignature(new Object(), sig)); Object[] failingParams = getParametersForSignature(null, sig); InvocationTargetException ite = assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(transport.isSMB2()).thenThrow(new SmbException("negotiation missing")); assertFalse(handle.isSMB2()); } @Test @DisplayName("Null treeConnection throws NPE") void constructorNullTreeConnection() { // Null treeConnection throws NPE when acquire() is called assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
public SampleElements<UnhashableObject> samples() { return new Unhashables(); } @Override public T create(Object... elements) { UnhashableObject[] array = createArray(elements.length); int i = 0; for (Object e : elements) { array[i++] = (UnhashableObject) e; } return create(array); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
*/ public static FileOutputStream create(final File file) { assertArgumentNotNull("file", file); try { return new FileOutputStream(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Flushes the {@link OutputStream}. * * @param out the output stream */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExecutionTimeoutException.java
super(message, cause); } /** * Constructs a new exception with the specified detail message. * * @param message the detail message. */ public ExecutionTimeoutException(final String message) { super(message); } /** * Constructs a new exception with the specified cause. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.8K bytes - Viewed (0) -
android/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 - 21.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
throw new IllegalArgumentException(msg); } if (!input.startsWith("/")) { final String msg = "The argument 'input' should start with slash '/': " + input; throw new IllegalArgumentException(msg); } final StringBuilder sb = new StringBuilder();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
@Test public void testPerformance() throws Exception { for (int j = 0; j < 3; ++j) { final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>(); final Map<String, String> cimap = new CaseInsensitiveMap<String>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java
/** Map containing metadata key-value pairs */ protected Map<String, String[]> metadata = new HashMap<>(); /** The extracted content text */ protected String content; /** * Constructs a new ExtractData. */ public ExtractData() { // Default constructor } /** * Constructs a new ExtractData with the specified content. * * @param content the content to setRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java
} dictionaryManager.addCreator(this); } /** * Creates a new dictionary file. * * @param id The ID of the dictionary file. * @param path The path of the dictionary file. * @param timestamp The timestamp of the dictionary file. * @return A new dictionary file. */ @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2K bytes - Viewed (0)