Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for indexOf (3.64 sec)

  1. 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()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. 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;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            // if already there we remove it and add again
            int index = attachedArtifacts.indexOf(artifact);
            if (index >= 0) {
                LOGGER.warn("artifact '{}' already attached, replacing previous instance", artifact);
                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                if (task instanceof GoalTask) {
                    String pluginGoal = task.getValue();
    
                    String executionId = "default-cli";
                    int executionIdx = pluginGoal.indexOf('@');
                    if (executionIdx > 0) {
                        executionId = pluginGoal.substring(executionIdx + 1);
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  5. 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,
    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)
  6. 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,...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                        ProjectIndex projectIndex = session.getSession()
                                .getData()
                                .computeIfAbsent(PROJECT_INDEX, () -> new ProjectIndex(session.getProjects()));
    
                        int index = projectIndex.getIndices().get(projectId);
    
                        MavenProject forkedProject = projectIndex.getProjects().get(projectId);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("full-interpolation");
            for (int i = 0; i < 24; i++) {
                String index = ((i < 10) ? "0" : "") + i;
                assertEquals("PASSED", pom.getValue("properties/property" + index));
            }
        }
    
        @Test
        void testInterpolationWithBasedirAlignedDirectories() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

                CDATA to enable the use of HTML tags within the description, it is discouraged to allow
                plain text representation. If you need to modify the index page of the generated website,
                you are able to specify your own instead of adjusting this text.</description>
              <type>String</type>
            </field>
            <field>
              <name>url</name>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K 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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top