Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for lastIndexOf (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    int idx = fieldName.lastIndexOf('.');
                    if (idx >= 0) {
                        fieldName = fieldName.substring(idx + 1);
                        key = fieldName;
                    }
    
                    if (fieldName.endsWith("]")) {
                        key = fieldName.substring(fieldName.lastIndexOf('[') + 1, fieldName.length() - 1);
                        try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top