Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 152 for placeholders (0.14 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

     * It allows for the replacement of placeholders (e.g., ${variable}) with their corresponding values.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Interpolator extends Service {
    
        /**
         * Interpolates the values in the given map using the provided callback function.
         * This method defaults to setting empty strings for unresolved placeholders.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

        return 3;
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                appendQuotedArguments(result, parsed);
            }
    
            return result.toString();
        }
    
        /**
         * Process a single line: remove comments, trim whitespace, and replace placeholders.
         */
        private static String processLine(String line, String mavenProjectBasedir) {
            // Remove comments
            int commentIndex = line.indexOf('#');
            if (commentIndex >= 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_code_includes/test_number_mismatch.py

            "utf-8"
        )
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Number of code include placeholders does not match the number of code includes "
            "in the original document (4 vs 3)"
        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

        /**
         * Loads a JSON resource file from the classpath with placeholder substitution.
         *
         * @param resourcePath The path to the resource file
         * @param substitutions A map of placeholder patterns to replacement values.
         *        Keys should be the literal placeholder strings (e.g., "${fess.dictionary.path}").
         * @return The content of the resource file with placeholders replaced
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Exception thrown by {@link Interpolator} implementations when an error occurs during interpolation.
     * This can include syntax errors in variable placeholders or recursive variable references.
     *
     * @since 4.0.0
     */
    @Experimental
    public class InterpolatorException extends MavenException {
    
        /**
         * Constructs a new InterpolatorException with {@code null} as its
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Verify.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  8. scripts/doc_parsing_utils.py

    
    def replace_placeholders_with_code_includes(
        text: list[str], original_includes: list[CodeIncludeInfo]
    ) -> list[str]:
        """
        Replace code includes placeholders with actual code includes from the original (English) document.
        Fail if the number of placeholders does not match the number of original includes.
        """
    
        code_include_lines = [
            line_no
            for line_no, line in enumerate(text)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Strings.java

       * Preconditions} class use this formatter, for both of the reasons just discussed.
       *
       * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is
       * recognized.
       *
       * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@code
       *     null} is treated as the four-character string {@code "null"}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistant.java

    /**
     * Implementation of DBFlute's InvokerAssistant interface for OpenSearch integration.
     * This class provides basic scaffolding for DBFlute behavior invoker assistance,
     * primarily returning null implementations as placeholders for OpenSearch-specific functionality.
     *
     */
    public class ImplementedInvokerAssistant implements InvokerAssistant {
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top