Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for indexOf (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java

        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                int index1 = process.indexOf(')');
                int index2 = process.indexOf(']');
    
                int index = index2;
                if (index2 < 0 || index1 < index2) {
                    if (index1 >= 0) {
                        index = index1;
                    }
                }
    
                if (index < 0) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

        }
    
        public static String getMessage(Exception e) {
            String message = e.getMessage();
            if (e instanceof XMLStreamException xe && xe.getLocation() != null) {
                int idx = message.indexOf("\nMessage: ");
                if (idx >= 0) {
                    return message.substring(idx + "\nMessage: ".length());
                }
            }
            return message;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                String string,
                String sourceHint,
                String banned) {
            if (string != null) {
                for (int i = string.length() - 1; i >= 0; i--) {
                    if (banned.indexOf(string.charAt(i)) >= 0) {
                        addViolation(
                                problems,
                                severity,
                                fieldName,
                                sourceHint,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            /*
             * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch (
             * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <
             * e.getMessage().indexOf( "[1.0,)" ) ); }
             */
        }
    
        @Test
        @Disabled("that one does not work")
        void testOverConstrainedVersionException()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. maven-builder-support/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
      </body>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    : Set.of();
            String base = "default-" + goal;
            String id = base;
            for (int index = 1; existingIds.contains(id); index++) {
                id = base + '-' + index;
            }
            return id;
        }
    
        private record DefaultPackaging(String id, Type type, Map<String, PluginContainer> plugins) implements Packaging {}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    final double LOG_10; private static final float FLOAT_RELATIVE_ERROR; private static final double DOUBLE_RELATIVE_ERROR; private static String[] LEADING_ZEROS; private static final double[] DOUBLE_POW_10; private void TypeFormat(); public static int indexOf(CharSequence, CharSequence, int); public static boolean parseBoolean(CharSequence); public static short parseShort(CharSequence); public static short parseShort(CharSequence, int); public static int parseInt(CharSequence); public static int parseInt(CharSequence,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         *
         * @param data        The content for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
         * @throws NullPointerException if passed in any parameter is {@code null}.
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top