- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 2,083 for instance1 (0.15 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
@ExtendWith(MockitoExtension.class) class Smb2LogoffResponseTest { // Helper to create an instance with a mocked Configuration private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @Test @DisplayName("Constructor accepts a Configuration and creates instance") void constructor_happyPath() { // ArrangeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
DataStoreException exception = new DataStoreException("Test"); assertTrue(exception instanceof DataStoreException); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
// Act & Assert // unwrap to interface itself should return same instance CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class); assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance"); assertSame(creds, unwrapped, "unwrap returns the same object instance"); // unwrap to unrelated type should return null (use another Credentials implementation)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
/** * Gets the singleton instance of the XmlService. * * @return the XmlService instance * @throws IllegalStateException if no implementation is found */ private static XmlService getService() { return Holder.INSTANCE; } /** Holder class for lazy initialization of the default instance */ private static final class Holder {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
/** * Sets the initial capacity for the text normalization context. * * @param initialCapacity the initial capacity to be set * @return the updated TextNormalizeContext instance */ public TextNormalizeContext initialCapacity(final int initialCapacity) { this.initialCapacity = initialCapacity; return this; } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
rankFusionProcessor.init(); if (rankFusionProcessor.search(query, new TestSearchRequestParams(0, pageSize, 0), OptionalThing.empty()) instanceof QueryResponseList list) { assertEquals(pageSize, list.size()); assertEquals(allRecordCount, list.getAllRecordCount()); assertEquals(100, list.getAllPageCount());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
// nothing } /** * Creates a {@link StreamOf} instance from the provided values. * If the input array is {@code null}, an empty stream is returned. * * @param <T> The type of elements in the stream. * @param values The elements to be included in the stream. Can be {@code null}. * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java
} } return event; } /** * Factory method to create an ErrorToWarnRewritePolicy instance. * * @param loggerNamePrefix comma-separated list of logger name prefixes * @return a new ErrorToWarnRewritePolicy instance */ @PluginFactory public static ErrorToWarnRewritePolicy createPolicy(@PluginAttribute("loggers") final String loggerNamePrefix) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
} /** * Constructs an instance. * * @param reader * The {@link Reader} to read strings from. Must not be {@literal null}. */ public LineIterator(final Reader reader) { assertArgumentNotNull("reader", reader); this.reader = new BufferedReader(reader); } /** * Constructs an instance. * * @param readerRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
return; } if (value instanceof Entity) { data.register(key, BeanUtil.copyBeanToNewMap(value)); } else { if (value instanceof final Collection<?> coll && !coll.isEmpty()) { // care performance for List that the most frequent pattern final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0)