Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 157 for indented (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            // Test indentation methods don't throw exceptions
            context.indent();
            context.indent();
            context.info("Indented message");
    
            context.unindent();
            context.unindent();
            context.unindent(); // Should not go below 0
            context.info("Unindented message");
        }
    
        @Test
        @DisplayName("should handle icon rendering based on terminal capabilities")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/Indexed.java

     * @param <T> the element type
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** The element. */
        private final T element;
    
        /** The index of the element. */
        private final int index;
    
        /**
         * Constructor.
         *
         * @param element the element
         * @param index the index of the element
         */
        public Indexed(final T element, final int index) {
            this.element = element;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            indent = indent.substring(2);
        }
    
        @Override
        public void includeArtifact(Artifact artifact) {
            logger.debug(indent + artifact + " (selected for " + artifact.getScope() + ")");
        }
    
        @Override
        public void omitForNearer(Artifact omitted, Artifact kept) {
            String omittedVersion = omitted.getVersion();
            String keptVersion = kept.getVersion();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.success("Modified: " + result.modifiedPoms().size() + " POMs");
                context.unindent();
            } else {
                context.info("Strategy completed (no changes needed)");
                context.indent();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *
     * List&lt;String&gt; list = ...;
     * for (Indexed&lt;String&gt; indexed : indexed(list)) {
     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String&gt; indexed : indexed(iterable(reader))) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
            for (final Indexed<String> indexed : indexed(list)) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * ===========================
     *
     * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset.
     *
     * Mappings may overlap.
     *
     * ASCII-Only
     * ==========
     *
     * Neither the section index nor the ranges data use bit 0x80 anywhere. That means the data is
     * strictly ASCII. This is intended to make it efficient to encode this data as a string, and to
     * index into it as a string.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

    /**
     * Indicates that a given field will be injected with the result of
     * a dependency collection or resolution request. Whether a collection
     * or resolution request is performed is controlled by the {@link #pathScope()}
     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
     * from the {@code pathScope} and the injected field type. If the type
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jun 11 07:23:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java

            commandWithRetry.append(indent).append("  ").append(command).append(" && \n");
            commandWithRetry.append(indent).append("  exit_code=0 && break || \n");
            commandWithRetry.append(indent);
            commandWithRetry.append("    exit_code=$? && echo \"").append(name).append(" error: retry $iter in 10s\" && sleep 10; \n");
            commandWithRetry.append(indent).append("done; \n");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 10 13:10:22 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * Returns the tag attached with [type] as a key. If it is absent, then [computeIfAbsent] is
       * called and that value is both inserted and returned.
       *
       * If multiple calls to this function are made concurrently with the same [type], multiple values
       * may be computed. But only one value will be inserted, and that inserted value will be returned
       * to all callers.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top