Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for characters (1.5 sec)

  1. maven-core/src/test/resources-project-builder/xml-coalesce-text/pom.xml

      </description>
    
      <properties>
        <!--
        This checks the coalescing of CHARACTERS and CDATA events. Note that inner whitespace must be retained.
        -->
        <prop0>A <![CDATA[ Test ]]> Project<![CDATA[ ]]>Property</prop0>
    
        <!--
        This checks the coalescing of CHARACTERS events that are interleaved with comments. Note that inner whitespace
        formed by whitespace-only events must be retained.
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 34.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            assertContains(problems.messages.get(2), "'mirrors.mirror.mirrorOf' for local is missing");
            assertContains(problems.messages.get(3), "'mirrors.mirror.id' must not contain any of these characters");
        }
    
        @Test
        void testValidateRepository() throws Exception {
            Profile profile = new Profile();
            Repository repo = new Repository();
            repo.setId("local");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                // -1
                //  or QUALIFIERS.size and then resort to lexical ordering. Most comparisons are decided by the first
                // character,
                // so this is still fast. If more characters are needed then it requires a lexical sort anyway.
                return i == -1 ? (QUALIFIERS.size() + "-" + qualifier) : String.valueOf(i);
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            }
            return retValue.trim();
        }
    
        /**
         * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to
         * convert URL-encoded bytes to characters.
         *
         * @param url The URL to decode, may be <code>null</code>.
         * @return The decoded URL or <code>null</code> if the input was <code>null</code>.
         */
        private static String decode(String url) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            // single project build entry point
            Exception ex = assertThrows(Exception.class, () -> projectBuilder.build(pomFile, configuration));
            assertThat(ex.getMessage(), containsString("Received non-all-whitespace CHARACTERS or CDATA event"));
    
            // multi projects build entry point
            ProjectBuildingException pex = assertThrows(
                    ProjectBuildingException.class,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  6. maven-core/src/test/resources-project-builder/url-no-decoding/pom.xml

      <description>
        Test that the project builder does not decode URLs (which must be done by the transport layer instead).
      </description>
    
      <!-- some URLs using percent-encoded characters -->
      <url>https://maven.apache.org/spacy%20path</url>
      <scm>
        <connection>scm:svn:svn+ssh://svn.apache.org/spacy%20path</connection>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                                problems,
                                severity,
                                fieldName,
                                sourceHint,
                                "must not contain any of these characters " + banned + " but found " + string.charAt(i));
                        return false;
                    }
                }
            }
    
            return true;
        }
    
        private static void addViolation(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         */
        Metadata read(File input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
         * Reads the metadata from the specified character reader. The reader will be automatically closed before the method
         * returns.
         *
         * @param input The reader to deserialize the metadata from, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        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;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
    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)
Back to top