Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for StringBuilder$ (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

            }
            return target;
        }
    
        private String toString(Dependency dependency) {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder
                    .append(dependency.getGroupId())
                    .append(":")
                    .append(dependency.getArtifactId())
                    .append(":")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            StringBuilder message = new StringBuilder();
            message.append(action).append(' ').append(direction).append(' ').append(resource.getRepositoryId());
            message.append(": ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

        public String format(long size, ScaleUnit unit, boolean omitSymbol) {
            StringBuilder sb = new StringBuilder();
            format(sb, size, unit, omitSymbol);
            return sb.toString();
        }
    
        public void format(StringBuilder builder, long size) {
            format(builder, size, null, false);
        }
    
        public void format(StringBuilder builder, long size, ScaleUnit unit) {
            format(builder, size, unit, false);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

        }
    
        public String getOriginalMessage() {
            return originalMessage;
        }
    
        protected static String constructArtifactPath(List<String> path, String indentation) {
            StringBuilder sb = new StringBuilder();
    
            if (path != null) {
                sb.append(LS);
                sb.append(indentation);
                sb.append("Path to dependency: ");
                sb.append(LS);
                int num = 1;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

        private static final char BOX_CHAR = '*';
    
        private static final Pattern S_FILTER = Pattern.compile("\\s+");
    
        public static String separatorLine() {
            StringBuilder sb = new StringBuilder(DEFAULT_MAX_SIZE);
            repeat(sb, '*', DEFAULT_MAX_SIZE);
            return sb.toString();
        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         * @return The user-friendly source hint, never {@code null}.
         */
        static String toSourceHint(Model model) {
            if (model == null) {
                return "";
            }
    
            StringBuilder buffer = new StringBuilder(128);
    
            buffer.append(toId(model));
    
            Path pomPath = model.getPomPath();
            if (pomPath != null) {
                buffer.append(" (").append(pomPath).append(')');
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

        public String getId() {
            return "flat";
        }
    
        public String pathOf(Artifact artifact) {
            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        @Override
        public void transferProgressed(TransferEvent event) {
            TransferResource resource = event.getResource();
            downloads.put(resource, event.getTransferredBytes());
    
            StringBuilder buffer = new StringBuilder(64);
    
            for (Map.Entry<TransferResource, Long> entry : downloads.entrySet()) {
                long total = entry.getKey().getContentLength();
                long complete = entry.getValue();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

        public String getId() {
            return "default";
        }
    
        public String pathOf(Artifact artifact) {
            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
            StringBuilder path = new StringBuilder(128);
    
            path.append(formatAsDirectory(artifact.getGroupId())).append(PATH_SEPARATOR);
            path.append(artifact.getArtifactId()).append(PATH_SEPARATOR);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append(getSource());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top