Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,012 for optionalen (0.1 seconds)

  1. compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-b-1.0.pom

        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t06-d</artifactId>
          <version>1.1</version>
          <type>jar</type>
          <scope>compile</scope>
          <optional>false</optional>
        </dependency>
      </dependencies>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 622 bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                path = defaultArtifact.getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  4. apache-maven/src/assembly/maven/bin/mvnup.cmd

    @REM Apache Maven Upgrade Script
    @REM
    @REM Environment Variable Prerequisites
    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    @REM -----------------------------------------------------------------------------
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                }
    
                @Nonnull
                @Override
                public Optional<Project> getProject() {
                    return Optional.ofNullable(project);
                }
    
                @Nonnull
                @Override
                public Optional<Artifact> getRootArtifact() {
                    return Optional.ofNullable(rootArtifact);
                }
    
                @Nonnull
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  6. pom.xml

    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-api</artifactId>
    			<version>2.0.16</version>
    			<optional>true</optional>
    		</dependency>
    		<dependency>
    			<groupId>commons-logging</groupId>
    			<artifactId>commons-logging</artifactId>
    			<version>1.3.5</version>
    			<optional>true</optional>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Dec 20 04:15:34 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

            properties["runtime"] = runtime.get().joinToString(",")
            properties["projects"] = projects.get().joinToString(",")
            optionalProjects.get().takeIf { it.isNotEmpty() }?.let { optional ->
                properties["optional"] = optional.joinForProperties()
            }
        }
    
        private
        fun FileSystemLocation.toGradleModuleName(): String = asFile.name.run { substring(0, lastIndexOf('-')) }
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
       * This may optionally wrap the contents in a tag.
       */
      fun usingTypeHint(chooser: (Any?) -> DerAdapter<*>?): DerAdapter<Any?> {
        return object : DerAdapter<Any?> {
          override fun matches(header: DerHeader): Boolean = true
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

        }
    
        def "method removal can be reported if current class is first public class"() {
            given:
            apiClass.oldClass >> Optional.of(classes['OldBase'])
            apiClass.newClass >> Optional.of(classes['NewBase'])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains('SuperInternal.publicMethod()')
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. tests/test_param_class.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 636 bytes
    - Click Count (0)
Back to Top