Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for indexes (0.15 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    special behaviour when examining <code>Array</code>s, whereby * it will match if both the operand and the examined object are arrays of the same length and * contain items that are equal to each other (according to the above rules) <b>in the same * indexes</b>.</p> * <p/> * For example: * <pre> * assertThat("foo", equalTo("foo")); * assertThat(new String[] {"foo", "bar"}, equalTo(new String[] {"foo", "bar"})); * </pre> */ public static <T> org.hamcrest.Matcher<T> equalTo(T operand) { return org.ham...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            List<String> lifecycleIds = Arrays.asList(STANDARD_LIFECYCLES);
    
            Comparator<String> comparator = (l, r) -> {
                int lx = lifecycleIds.indexOf(l);
                int rx = lifecycleIds.indexOf(r);
    
                if (lx < 0 || rx < 0) {
                    return rx - lx;
                } else {
                    return lx - rx;
                }
            };
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. maven-artifact/src/site/apt/index.apt

    Hervé Boutemy <******@****.***> 1417381018 +0100
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 30 20:57:07 GMT 2014
    - 1.7K bytes
    - Viewed (0)
  4. maven-compat/src/site/apt/index.apt

    Hervé Boutemy <******@****.***> 1464508554 +0200
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 24 22:50:10 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            } else {
                locations = new LinkedHashMap<>();
                for (int index : indices) {
                    InputLocation location;
                    if (index < 0) {
                        location = sourceLocations.get(~index);
                    } else {
                        location = targetLocations.get(index);
                    }
                    locations.put(locations.size(), location);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            if (expression.equals(expr)) {
                int index = expr.indexOf("${");
                if (index >= 0) {
                    int lastIndex = expr.indexOf('}', index);
                    if (lastIndex >= 0) {
                        String retVal = expr.substring(0, index);
    
                        if ((index > 0) && (expr.charAt(index - 1) == '$')) {
                            retVal += expr.substring(index + 1, lastIndex + 1);
                        } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  7. 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)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                // repository.
    
                plugin = findPluginForPrefix(prefix, session);
            }
    
            int executionIdx = goal.indexOf('@');
            if (executionIdx > 0) {
                goal = goal.substring(0, executionIdx);
            }
    
            injectPluginDeclarationFromProject(plugin, project);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. 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)
Back to top