Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for type (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinateFactory.java

            nonNull(request, "request");
            InternalSession session = InternalSession.from(request.getSession());
    
            ArtifactType type = null;
            if (request.getType() != null) {
                type = session.getSession().getArtifactTypeRegistry().get(request.getType());
            }
            if (request.getCoordinateString() != null) {
                return new DefaultDependencyCoordinate(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Optional<String>> comparator = Comparators.emptiesFirst(comparing(String::length));
        Helpers.testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        comparator = Comparators.emptiesFirst(naturalOrder());
      }
    
      public void testEmptiesLast() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    import static japicmp.model.JApiCompatibilityChange.METHOD_ADDED_TO_PUBLIC_CLASS;
    import static japicmp.model.JApiCompatibilityChange.METHOD_REMOVED;
    import static japicmp.model.JApiCompatibilityChange.METHOD_RETURN_TYPE_CHANGED;
    
    public class UpgradedProperties {
    
        private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*");
        private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

         * 適切な {@link Number}に変換します。
         *
         * @param type
         *            変換先の型
         * @param o
         *            変換元のオブジェクト
         * @return {@literal type}に変換された{@link Number}
         */
        public static Object convertNumber(final Class<?> type, final Object o) {
            if (type == Integer.class) {
                return IntegerConversionUtil.toInteger(o);
            } else if (type == BigDecimal.class) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         */
        private PathType getPathType(Path path) throws IOException {
            PathType type = pathTypes.get(path);
            if (type == null) {
                type = new PathModularization(path, false).getPathType();
                pathTypes.put(path, type);
            }
            return type;
        }
    
        /**
         * Selects the type of path where to place the given dependency.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>${test}</file>");
    
            BeanConfigurationValuePreprocessor preprocessor = (value, type) -> {
                if (value != null && value.startsWith("${") && value.endsWith("}")) {
                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java

            if (!artifact.isSnapshot()) {
                versioning.release(artifact.getBaseVersion());
            }
            if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) {
                versioning.latest(artifact.getBaseVersion());
            }
    
            metadata.versioning(versioning.build());
    
            return metadata.build();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

    import org.apache.maven.api.services.RepositoryFactory;
    import org.apache.maven.internal.impl.InternalSession;
    import org.apache.maven.internal.impl.resolver.artifact.MavenArtifactProperties;
    import org.apache.maven.internal.impl.resolver.type.DefaultType;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

        }
    
        /**
         * This method produces "surrogate" type registry that is static: it aims users that want to use
         * Maven-Resolver without involving Maven Core and related things.
         * <p>
         * This type registry is NOT used by Maven Core: Maven replaces it during Session creation with a type registry
         * that supports extending it (i.e. via Maven Extensions).
         * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                return Optional.of(new Packaging() {
                    @Override
                    public String id() {
                        return id;
                    }
    
                    @Override
                    public Type type() {
                        return null;
                    }
    
                    @Override
                    public Map<String, PluginContainer> plugins() {
                        if ("JAR".equals(id)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top