- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,378 for cannot (0.06 seconds)
-
internal/config/compress/compress.go
for _, e := range includes { if len(e) == 0 { return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be empty") } if e == "/" { return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be '/'") } } return includes, nil } // LookupConfig - lookup compression config. func LookupConfig(kvs config.KVS) (Config, error) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Sep 06 17:37:10 GMT 2025 - 5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
String defaultValue() default ""; /** * is the parameter required? * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected */ boolean required() default false; /** * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
this.session = session; } @Nonnull @Override public Optional<Path> getPath(@Nonnull Artifact artifact) { String id = id(requireNonNull(artifact, "artifact cannot be null")); if (session.getMavenSession().getAllProjects() != null) { for (MavenProject project : session.getMavenSession().getAllProjects()) { if (id.equals(id(project.getArtifact()))Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
super(session, trace); this.requestType = requireNonNull(requestType, "requestType cannot be null"); this.project = project; this.rootArtifact = rootArtifact; this.root = root; this.dependencies = List.copyOf(requireNonNull(dependencies, "dependencies cannot be null")); this.managedDependencies =
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
try { jobHelper.register((ScheduledJob) null); fail("Should throw ScheduledJobException"); } catch (ScheduledJobException e) { assertEquals("scheduledJob parameter is null. Cannot register a null job.", e.getMessage()); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
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)