Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 537 for if (0.13 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            String part2 = null;
    
            if (index < 0) {
                part1 = version;
            } else {
                part1 = version.substring(0, index);
                part2 = version.substring(index + 1);
            }
    
            if (part2 != null) {
                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
                    if (buildNumber == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            if (g == 0) {
                int a = compareStrings(md.artifactId, vmd.artifactId);
                if (a == 0) {
                    if (compareVersion) {
                        int v = compareStrings(md.version, vmd.version);
                        if (v == 0) {
                            if (compareScope) {
                                String s1 = ArtifactScopeEnum.checkScope(md.artifactScope)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

        /**
         * GETs the source URI content into target (does not have to exist, or will be overwritten if exist). The
         * source MUST BE relative from the {@link RemoteRepository#getUrl()} root.
         *
         * @return {@code true} if operation succeeded, {@code false} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        boolean get(@Nonnull URI relativeSource, @Nonnull Path target);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            if (policy == null) {
                throw new GraphConflictResolutionException("no GraphConflictResolutionPolicy injected");
            }
    
            if (graph == null) {
                return null;
            }
    
            final MetadataGraphVertex entry = graph.getEntry();
            if (entry == null) {
                return null;
            }
    
            if (graph.isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

            if (isDebugEnabled()) {
                logger.debug(content.get());
            }
        }
    
        @Override
        public void debug(Supplier<String> content, Throwable error) {
            if (isDebugEnabled()) {
                logger.debug(content.get(), error);
            }
        }
    
        @Override
        public void info(CharSequence content) {
            if (isInfoEnabled()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                throws MetadataResolutionException, GraphConflictResolutionException {
            if (requestType == null) {
                return null;
            }
    
            if (treeRoot == null) {
                return null;
            }
    
            if (conflictResolver == null) {
                return null;
            }
    
            if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathCompile)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
                if (!problem.getSource().isEmpty()) {
                    if (!buffer.isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

        }
    
        /**
         * Extracts the extension descriptor (if any) from the specified JAR file.
         *
         * @param extensionJar The JAR file or directory to extract the descriptor from, must not be {@code null}.
         * @return The extracted descriptor or {@code null} if no descriptor was found.
         * @throws IOException If the descriptor is present but could not be parsed.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         */
        @Nonnull
        <T> Optional<T> lookupOptional(Class<T> type);
    
        /**
         * Performs a lookup for optional typed component.
         *
         * @param type The component type.
         * @param name The component name.
         * @return Optional carrying component or empty optional if no such component.
         * @param <T> The component type.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            for (Dependency dep : model.getDependencies()) {
                if (dep.getVersion() == null) {
                    Model depModel = context.getRawModel(model.getPomFile(), dep.getGroupId(), dep.getArtifactId());
                    if (depModel != null) {
                        String v = depModel.getVersion();
                        if (v == null && depModel.getParent() != null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top