- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,074 for cannot (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java
/** * @param session the repository session * @param artifact the {@link ProducedArtifact} to install * @throws ArtifactInstallerException in case of an error which can be a given artifact cannot be found or the * installation has failed * @throws IllegalArgumentException if a parameter {@code session} is {@code null} or * {@code artifact} is {@code null} */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.9K bytes - Click Count (0) -
tests/test_router_circular_import.py
import pytest from fastapi import APIRouter def test_router_circular_import(): router = APIRouter() with pytest.raises( AssertionError, match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?", ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 10:58:40 GMT 2026 - 317 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
errorResponse.message(testMessage); errorResponse.status(Status.BAD_REQUEST); ApiResult result = errorResponse.result(); assertNotNull(result); // Cannot directly access protected fields, just verify the result is not null } // Test configuration for JSON response @Test public void test_configurationSettings() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
String result = response.toString(); assertNotNull(result, "toString() should not return null."); } // Helper method to access the super.toString() for verification, // as we cannot call it directly from the test. // This requires a package-private or public method in the class under test, // or we can just check for the prefix and suffix.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
} @Override public void configureBean(BeanConfigurationRequest request) throws BeanConfigurationException { Objects.requireNonNull(request, "request cannot be null"); Objects.requireNonNull(request.getBean(), "request.bean cannot be null"); Object configuration = request.getConfiguration(); if (configuration == null) { return; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
this(Objects.requireNonNull(file, "file cannot be null").toPath()); } /** * Creates a new source backed by the specified file. * * @param path The file, must not be {@code null}. * @since 4.0.0 */ public FileSource(Path path) { this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath(); this.hashCode = Objects.hash(path); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
public void testBadArguments_plusforspace() { // space can be a safe char if plusForSpace is false PercentEscaper unused = new PercentEscaper(" ", false); // space cannot be a safe char is plusForSpace is true String msg = "plusForSpace cannot be specified when space is a 'safe' character"; IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper(" ", true));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
throw new IllegalArgumentException( "Cannot insert range " + range + " into an empty subRangeMap"); } @Override public void putCoalescing(Range<Comparable<?>> range, Object value) { checkNotNull(range); throw new IllegalArgumentException( "Cannot insert range " + range + " into an empty subRangeMap"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
android/guava/src/com/google/common/math/DoubleMath.java
MIN_LONG_AS_DOUBLE - z < 1.0 & z < MAX_LONG_AS_DOUBLE_PLUS_ONE, x, mode); return (long) z; } private static final double MIN_LONG_AS_DOUBLE = -0x1p63; /* * We cannot store Long.MAX_VALUE as a double without losing precision. Instead, we store * Long.MAX_VALUE + 1 == -Long.MIN_VALUE, and then offset all comparisons by 1. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
return containerRealm; } @Override public ClassRealm createProjectRealm(Model model, List<Artifact> artifacts) { Objects.requireNonNull(model, "model cannot be null"); ClassLoader parent = getMavenApiRealm(); return createRealm(getKey(model), RealmType.Project, parent, null, null, artifacts); } private static String getKey(Model model) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.5K bytes - Click Count (0)