Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 151 for setType (0.13 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

                throw new InvalidArtifactRTException(
                        parent.getGroupId(),
                        parent.getArtifactId(),
                        parent.getVersion(),
                        parent.getType(),
                        "An attached artifact must have a different ID" + " than its corresponding main artifact.");
            }
        }
    
        public AttachedArtifact(Artifact parent, String type, ArtifactHandler artifactHandler) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
              try {
                T constant = type.cast(field.get(null));
                if (constant != null) {
                  return constant;
                }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            sb.append('-').append(artifact.getBaseVersion());
            if (artifact.getClassifier() != null) {
                sb.append('-').append(artifact.getClassifier());
            }
            sb.append('.').append(artifact.getType()).append(LAST_UPDATE_TAG);
            return new File(artifact.getFile().getParentFile(), sb.toString());
        }
    
        File getTouchfile(RepositoryMetadata metadata, File file) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
              try {
                T constant = type.cast(field.get(null));
                if (constant != null) {
                  return constant;
                }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  5. cmd/signature-v4-utils.go

    		return r.ContentLength > 0 && !globalServerCtxt.StrictS3Compat
    	}
    	return false
    }
    
    // Returns SHA256 for calculating canonical-request.
    func getContentSha256Cksum(r *http.Request, stype serviceType) string {
    	if stype == serviceSTS {
    		payload, err := io.ReadAll(io.LimitReader(r.Body, stsRequestBodyLimit))
    		if err != nil {
    			logger.CriticalIf(GlobalContext, err)
    		}
    		sum256 := sha256.Sum256(payload)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            Artifact artifact = artifactFactory.createDependencyArtifact(
                    d.getGroupId(),
                    d.getArtifactId(),
                    versionRange,
                    d.getType(),
                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                                d.getGroupId(), d.getArtifactId(), d.getVersion(), d.getScope(), d.getType());
                    } else {
                        artifact = artifactFactory.createDependencyArtifact(
                                d.getGroupId(),
                                d.getArtifactId(),
                                versionRange,
                                d.getType(),
                                d.getClassifier(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return repository.isOverride(method)
        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
            List<String> changes = member.compatibilityChanges.collect { Violation.describe(it.getType()) }
            return acceptOrReject(member, changes, rejection)
        }
    
        Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                return null;
            }
    
            Artifact artifact = createDependencyArtifactX(
                    d.getGroupId(),
                    d.getArtifactId(),
                    versionRange,
                    d.getType(),
                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            @Override
            public Object getKey() {
                return metadata.toString();
            }
    
            @Override
            public String getRemoteFilename() {
                return metadata.getType();
            }
    
            @Override
            public String getLocalFilename(ArtifactRepository repository) {
                return insertRepositoryKey(getRemoteFilename(), repository.getKey());
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top