Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 588 for equalTo (0.04 seconds)

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

                    String key = coreExtension.getGroupId() + ":" + coreExtension.getArtifactId();
                    CoreExtension conflict = selectedExtensions.putIfAbsent(key, coreExtension);
                    if (conflict != null && !Objects.equals(coreExtension.getVersion(), conflict.getVersion())) {
                        conflicts.add(String.format(
                                "Conflicting extension %s: %s vs %s",
                                key,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

         * @return The projectSegment or null.
         */
        public ProjectSegment findByMavenProject(MavenProject mavenProject) {
            return items.stream()
                    .filter(pb -> mavenProject.equals(pb.getProject()))
                    .findFirst()
                    .orElse(null);
        }
    
        @Override
        public Iterator<ProjectSegment> iterator() {
            return items.iterator();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. src/bytes/buffer_test.go

    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    			if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) {
    				t.Errorf("bad initial data at %d %d", startLen, growLen)
    			}
    			if !Equal(buf.Bytes()[startLen-readBytes:startLen-readBytes+growLen], yBytes) {
    				t.Errorf("bad written data at %d %d", startLen, growLen)
    			}
    		}
    	}
    }
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            return usedTypes.computeIfAbsent(id, i -> {
                Type type = lookup.lookupList(TypeProvider.class).stream()
                        .flatMap(p -> p.provides().stream())
                        .filter(t -> Objects.equals(id, t.id()))
                        .findFirst()
                        .orElse(null);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            SnapshotVersion sv1 = addSnapshotVersion(source.getVersioning(), date, artifact);
            // although nothing has changed merge returns true, as the last modified date is equal
            // TODO: improve merge here?
            assertTrue(target.merge(source));
            assertEquals(1, target.getVersioning().getSnapshotVersions().size());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  6. cmd/config-encrypted_test.go

    			if err != nil && test.success {
    				t.Errorf("Expected success, saw failure %v", err)
    			}
    			if err == nil && !test.success {
    				t.Error("Expected failure, saw success")
    			}
    			if test.success {
    				if !bytes.Equal(ddata, data) {
    					t.Errorf("Expected %s, got %s", string(data), string(ddata))
    				}
    			}
    		})
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  7. cmd/object-handlers-common.go

    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    		setCommonHeaders(w)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 23 12:36:06 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  8. .idea/inspectionProfiles/Gradle.xml

    description="Replace checking element presense in array with a utility function" suppressId="manual_array_contains" problemDescriptor="Replace manual array-contains check with utility function" text="for ($TYPE$ $ITEM$ : $ARR$) {&#10;    if ($ITEM$.equals($TARGET$)) {&#10;       return $RES$;&#10;    }&#10;}" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" useStaticImport="true" replacement="if (org.gradle.util.inter...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 26 21:49:47 GMT 2024
    - 15.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                this.basedir = null;
            } else {
                try {
                    URL url = new URL(repository.getUrl());
                    if ("file".equals(url.getProtocol())) {
                        basedir = new File(url.getPath());
                    }
                } catch (MalformedURLException e) {
                    throw new IllegalStateException(e);
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/mdo/extension.mdo

                Other values define only the prefix of classes/resources being exposed. Their binary name must be equal to the prefix or starting with the prefix (followed by "." or "$").
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top