Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 751 for toOptional (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t07-d</artifactId>
          <version>1.1</version>
          <type>jar</type>
          <scope>compile</scope>
          <optional>true</optional>
        </dependency>
      </dependencies>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 621 bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/resources/inheritance-repo/t07/maven-test/poms/t07-b-1.1.pom

        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t07-d</artifactId>
          <version>1.1</version>
          <type>jar</type>
          <scope>compile</scope>
          <optional>true</optional>
        </dependency>
      </dependencies>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 621 bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

            return Objects.equals(p, packaging);
        }
    
        private static Optional<String> getActivationPackaging(org.apache.maven.model.Profile profile) {
            return Optional.ofNullable(profile)
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .map(Profile::getActivation)
                    .map(Activation::getPackaging);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. tests/test_validate_response.py

    from typing import Optional, Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                VersionRange versionRange,
                String type,
                String classifier,
                String scope,
                boolean optional) {
            return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, null, optional);
        }
    
        @Override
        public Artifact createDependencyArtifact(
                String groupId,
                String artifactId,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top