Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,172 for Exists (0.17 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            ArtifactRepository repo = createStringRepo();
    
            assertThrows(ResourceDoesNotExistException.class, () -> wagonManager.getArtifact(artifact, repo, null, false));
    
            assertFalse(artifact.getFile().exists());
        }
    
        @Test
        void testGetMissingJarForced() throws TransferFailedException, UnsupportedProtocolException, IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_svcacct.txt

        echo "credentials file does not exist"
        return 1
      fi
      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      SVCACCT=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the svcacct if it does not exist
      if ! checkSvcacctExists ; then
        echo "Creating svcacct '$SVCACCT'"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Mar 28 23:20:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                assertEquals(0, result, "Apply should succeed for multi-module project");
    
                // Verify both POMs exist (they may or may not be modified depending on strategies)
                assertTrue(Files.exists(parentPom), "Parent POM should exist");
                assertTrue(Files.exists(modulePom), "Module POM should exist");
            }
        }
    
        @Nested
        @DisplayName("Error Handling")
        class ErrorHandlingTests {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication-handlers.go

    	}
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutReplicationConfigurationAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    	// Check if bucket exists.
    	if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

         * @return true if the rule was successfully removed, false otherwise
         */
        boolean removeRule(Rule rule);
    
        /**
         * Checks if the specified rule exists.
         *
         * @param rule the rule to check for existence
         * @return true if the rule exists, false otherwise
         */
        boolean hasRule(Rule rule);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    } else {
                        logger.warn(msg);
                    }
                }
            }
    
            // if it already exists locally we were just trying to force it - ignore the update
            if (!artifact.getFile().exists()) {
                if (tfe != null) {
                    throw tfe;
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            }
    
            try {
                if (isDirectory()) {
                    // Ensure destination exists as directory
                    if (!dest.exists()) {
                        dest.mkdirs();
                    } else if (!dest.isDirectory()) {
                        throw new CIFSException("Destination exists but is not a directory");
                    }
                    SmbCopyUtil.copyDir(this, dest, b, bsize, w, sh, dh);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. cmd/erasure-multipart-conditional_test.go

    		// Test Case 1: if-none-match (create only if doesn't exist)
    		// With if-none-match: *, this should only succeed if object doesn't exist.
    		// Since read quorum fails, we can't determine if object exists.
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfNoneMatch: "*",
    			},
    			CheckPrecondFn: func(oi ObjectInfo) bool {
    				// Precondition fails if object exists (ETag is not empty)
    				return oi.ETag != ""
    			},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return !file.exists();
              }
            });
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
            assertTrue(file.exists(), "Expected " + file + ".exists() to return true");
            d.setSystemPath(file.getCanonicalPath());
    
            artifact = repositorySystem.createDependencyArtifact(d);
    
            //
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top