Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 174 for getHash (0.08 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                return new ArtifactManager() {
                    private final Map<Artifact, Path> paths = new ConcurrentHashMap<>();
    
                    @Override
                    public Optional<Path> getPath(Artifact artifact) {
                        return Optional.ofNullable(paths.get(artifact));
                    }
    
                    @Override
                    public void setPath(ProducedArtifact artifact, Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                File file = artifact.getFile();
                this.artifact = ArtifactUtils.copyArtifact(artifact);
                if ("pom".equals(artifact.getType()) && file != null) {
                    pomHash = file.getPath().hashCode() + file.lastModified();
                } else {
                    pomHash = 0;
                }
                this.resolveManagedVersions = resolveManagedVersions;
                this.repositories.add(localRepository);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            return new ArtifactModelSource(pomArtifact.getPath(), groupId, artifactId, version);
        }
    
        @Override
        public ModelSource resolveModel(final Parent parent, final AtomicReference<Parent> modified)
                throws UnresolvableModelException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * @throws NullPointerException if the last element is null; if this is a possibility, use {@link
       *     Iterables#getLast} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> last() {
        // Iterables#getLast was inlined here so we don't have to throw/catch a NSEE
    
        // TODO(kevinb): Support a concurrently modified collection?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/TraversalUtil.java

            addTraverserFactory("code-source",
                    (url, rootPackage, rootDir) -> new JarFileTraverser(URLUtil.create("jar:file:" + url.getPath()), rootPackage, rootDir));
            addTraverserFactory("vfszip", VfsZipTraverser::new);
        }
    
        /**
         * {@link TraverserFactory}を追加します。
         *
         * @param protocol
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
    
            Map<String, String> props = null;
            if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                String localPath = (artifact.getFile() != null) ? artifact.getFile().getPath() : "";
                props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, localPath);
            }
    
            Artifact result = new DefaultArtifact(
                    artifact.getGroupId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         *            context to use
         * @throws MalformedURLException
         */
        public SmbFile ( URL url, CIFSContext tc ) throws MalformedURLException {
            super(url);
            if ( url.getPath() != null && !url.getPath().isEmpty() && url.getPath().charAt(0) != '/' ) {
                throw new MalformedURLException("Invalid SMB URL: " + url);
            }
            this.transportContext = tc;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/net/URLUtil.java

         */
        public static File toFile(final URL fileUrl) {
            assertArgumentNotNull("fileUrl", fileUrl);
    
            try {
                final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
                return new File(path).getAbsoluteFile();
            } catch (final Exception e) {
                throw new ClRuntimeException("ECL0091", asArray(fileUrl), e);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                }
    
                // normalize separators
                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            }
        }
    
        static void forEachLeakingJavaProcess(File rootProjectDir, BiConsumer<String, String> action) {
            Pattern commandLineArgsPattern = Pattern.compile(generateLeakingProcessKillPattern(rootProjectDir.getPath()));
            forEachJavaProcess(ps(), commandLineArgsPattern, action);
        }
    
        private static void forEachJavaProcess(List<String> psOutput, Pattern commandLineArgsPattern, BiConsumer<String, String> action) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top