Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for lengthOf (0.16 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            Comparable[] c = new Comparable[versions.length];
            for (int i = 0; i < versions.length; i++) {
                c[i] = newComparable(versions[i]);
            }
    
            for (int i = 1; i < versions.length; i++) {
                Comparable low = c[i - 1];
                for (int j = i; j < versions.length; j++) {
                    Comparable high = c[j];
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                }
    
                File pomFile = pomArtifact.getFile();
                if (pomFile != null && pomFile.canRead()) {
                    this.length = pomFile.length();
                    this.timestamp = pomFile.lastModified();
                } else {
                    this.length = -1;
                    this.timestamp = -1;
                }
            }
    
            public Artifact getArtifact() {
                return pomArtifact;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                                    Path basedir = projectDir.toAbsolutePath();
                                    return new ObjectBasedValueSource(basedir)
                                            .getValue(expression.substring("basedir.".length()));
                                }
                                return null;
                            }
                        },
                        getProjectPrefixes(request),
                        true);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                        PluginVersionResolutionException {
            String goal = null;
    
            Plugin plugin = null;
    
            String[] tok = task.split(":");
    
            int numTokens = tok.length;
    
            if (numTokens >= 4) {
                // We have everything that we need
                //
                // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process
                //
    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)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    && value.getClass().getName().startsWith("java.lang."));
        }
    
        private String stripTokens(String expr) {
            if (expr.startsWith("${") && (expr.indexOf('}') == expr.length() - 1)) {
                expr = expr.substring(2, expr.length() - 1);
            }
            return expr;
        }
    
        @Override
        public File alignToBaseDirectory(File file) {
    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)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    java.net.URLConnection { protected byte[] content; protected int offset; protected int length; public void BytesURLConnection(java.net.URL, byte[]); public void connect(); public java.io.InputStream getInputStream(); } org/codehaus/classworlds/BytesURLStreamHandle.class package org.codehaus.classworlds; public synchronized class BytesURLStreamHandle extends java.net.URLStreamHandler { byte[] content; int offset; int length; public void BytesURLStreamHandle(byte[]); public java.net.URLConnection openCon...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 41.6K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            if (protocol.equalsIgnoreCase("file")) {
                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
                if (retValue.startsWith("//")) {
                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            String expected = getTestFile("target/test-classes/target/classes").getCanonicalPath();
    
            Build build = new Build();
            build.setDirectory(expected.substring(0, expected.length() - "/classes".length()));
    
            Model model = new Model();
            model.setBuild(build);
    
            MavenProject project = new MavenProject(model);
            project.setFile(new File("pom.xml").getCanonicalFile());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    java.net.URLConnection { protected byte[] content; protected int offset; protected int length; public void BytesURLConnection(java.net.URL, byte[]); public void connect(); public java.io.InputStream getInputStream(); } org/codehaus/classworlds/BytesURLStreamHandle.class package org.codehaus.classworlds; public synchronized class BytesURLStreamHandle extends java.net.URLStreamHandler { byte[] content; int offset; int length; public void BytesURLStreamHandle(byte[]); public java.net.URLConnection openCon...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 41.6K bytes
    - Viewed (0)
Back to top