Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for lastIndexOf (0.21 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static String toSnapshotVersion(String version) {
            notBlank(version, "version can neither be null, empty nor blank");
    
            int lastHyphen = version.lastIndexOf('-');
            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
                    if (m.matches()) {
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java

                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
                    } else {
                        result = result.substring(0, parent) + result.substring(idx + 3);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
            return null;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/Graph.java

                    stateMap.put(v, DfsState.VISITED);
                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                            moduleName = moduleName.substring(0, moduleName.length() - 1);
                        }
    
                        int lastSlash = moduleName.lastIndexOf('/');
    
                        if (lastSlash < 0) {
                            lastSlash = moduleName.lastIndexOf('\\');
                        }
    
                        String adjustment = null;
    
                        if (lastSlash > -1) {
    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)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    y.exception.ComponentLookupExcep; public boolean contains(Object); public boolean containsAll(java.util.Collection); public Object get(int); public int indexOf(Object); public boolean isEmpty(); public java.util.Iterator iterator(); public int lastIndexOf(Object); public java.util.ListIterator listIterator(); public java.util.ListIterator listIterator(int); public int size(); public java.util.List subList(int, int); public Object[] toArray(); public Object[] toArray(Object[]); } META-INF/maven/o...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 15.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    y.exception.ComponentLookupExcep; public boolean contains(Object); public boolean containsAll(java.util.Collection); public Object get(int); public int indexOf(Object); public boolean isEmpty(); public java.util.Iterator iterator(); public int lastIndexOf(Object); public java.util.ListIterator listIterator(); public java.util.ListIterator listIterator(int); public int size(); public java.util.List subList(int, int); public Object[] toArray(); public Object[] toArray(Object[]); } META-INF/maven/o...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 15.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        protected String getTestSeries() {
            String className = getClass().getPackage().getName();
    
            return className.substring(className.lastIndexOf('.') + 1);
        }
    
        protected File projectFile(String name) {
            return projectFile("maven", name);
        }
    
        protected File projectFile(String groupId, String artifactId) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                        module = module.substring(0, module.lastIndexOf('/') + 1);
                    }
    
                    String moduleName = module;
                    if (moduleName.endsWith("/")) {
                        moduleName = moduleName.substring(0, moduleName.length() - 1);
                    }
    
                    int lastSlash = moduleName.lastIndexOf('/');
    
                    moduleName = moduleName.substring(lastSlash + 1);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

                    stateMap.put(v, DfsState.VISITED);
                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top