- Sort Score
- Result 10 results
- Languages All
Results 3501 - 3510 of 4,820 for if (0.03 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java
* Throws validation error if modes don't match. * * @param crudMode The current CRUD mode * @param expectedMode The expected CRUD mode * @param dictId The dictionary ID for error context */ protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) { if (crudMode != expectedMode) { throwValidationError(messages -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.5K bytes - Viewed (0) -
guava-gwt/pom.xml
lines could make c.g.c.base.testModule transitively inherit from extra modules. If some of those modules are ones that it uses but forgets to list in its own <inherits>, we'd like to get an error. Currently we do, but if we add the extra <inherits> lines, we won't. I have one idea for a better approach, but it's painful, and I haven't tested it: WeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) { // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava. StringBuilder escapedInput = new StringBuilder(); for (char c : input.toCharArray()) { if (c >= 0x20 && c <= 0x7E) { escapedInput.append(c); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
import java.util.Set; import java.util.SortedSet; /** * Optional features of classes derived from {@code Collection}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum CollectionFeature implements Feature<Collection> { /** * The collection must not throw {@code NullPointerException} on calls such as {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* Runnable}, and arrange that {@code get} will return the given result on successful completion. * * @param runnable the runnable task * @param result the result to return on successful completion. If you don't need a particular * result, consider using constructions of the form: {@code ListenableFuture<?> f = * ListenableFutureTask.create(runnable, null)} * @since 10.0 */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
@Override public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws java.io.IOException, ServletException { if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) { response.setStatus(HttpServletResponse.SC_BAD_REQUEST);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); } // Ensures watch() fails fast if the underlying handle is invalid @Test @DisplayName("watch() throws when handle invalid") void watch_invalidHandle_throwsSmbException() throws Exception { when(handle.isValid()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
for (int j = 0; j < 1000; j++) { if (response.getWords().contains(checkStr)) { find = true; break; } response = suggester.popularWords().setSize(2).addExcludeWord(excludeWord).execute().getResponse(); } if (checkStr.equals(excludeWord)) { assertFalse(find); } else {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
* {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine * the key type. * * @param map the map whose mappings are to be placed in this mapRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertTrue(listenerLatch.await(200, MILLISECONDS)); latch.countDown(); exec.shutdown(); exec.awaitTermination(100, MILLISECONDS); } /** * Tests that all listeners complete, even if they were added before or after the future was * finishing. Also acts as a concurrency test to make sure the locking is done correctly when a * future is finishing so that no listeners can be lost. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0)