Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for str (0.19 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean isAny(String str) {
            return "*".equals(str);
        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return groupId + ":" + artifactId + ":" + version;
        }
    
        private static void notBlank(String str, String message) {
            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            public String getBaseVersion() {
                return nullify(metadata.getVersion());
            }
    
            private String nullify(String str) {
                return (str == null || str.isEmpty()) ? null : str;
            }
    
            public Object getKey() {
                return metadata.toString();
            }
    
            public String getRemoteFilename() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                        Thread owner = aggregatorLock.getOwner();
                        MojoDescriptor ownerMojo = owner != null ? mojos.get(owner) : null;
                        String str = ownerMojo != null ? " The " + ownerMojo.getId() : "An";
                        String msg = str + " aggregator mojo is already being executed "
                                + "in this parallel build, those kind of mojos require exclusive access to "
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/DebugConfigurationListener.java

                    }
                    buf.append(String.valueOf(Array.get(obj, i)));
                }
                buf.append(']');
                str = buf.toString();
            } else {
                str = String.valueOf(obj);
            }
            return str;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java

                        ? request.getClassifier()
                        : type != null ? type.getClassifier() : "";
                String str = request.getExtension();
                String extension =
                        str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : "";
                return new DefaultArtifactCoordinate(
                        session,
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

                String propertyValue = properties.getProperty(REMAINING_PROJECTS);
                Stream.of(propertyValue.split(PROPERTY_DELIMITER))
                        .filter(str -> str != null && !str.isEmpty())
                        .forEach(request.getProjectActivation()::activateOptionalProject);
                LOGGER.info("Resuming from {} due to the --resume / -r feature.", propertyValue);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            private final int value;
    
            public static final IntItem ZERO = new IntItem();
    
            private IntItem() {
                this.value = 0;
            }
    
            IntItem(String str) {
                this.value = Integer.parseInt(str);
            }
    
            @Override
            public int getType() {
                return INT_ITEM;
            }
    
            @Override
            public boolean isNull() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                try {
                    String str = request.getUserProperties().getProperty(BUILDER_PARALLELISM);
                    if (str == null) {
                        str = request.getSystemProperties().getProperty(BUILDER_PARALLELISM);
                    }
                    if (str != null) {
                        parallelism = Integer.parseInt(str);
                    }
                } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

            String classifier =
                    str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : null;
            String str = request.getExtension();
            String extension =
                    str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : null;
            return new DefaultArtifact(
                    session,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top