Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 588 for equalTo (0.05 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    ).apply {
        disabledChecks.addAll(
            // DISCUSS
            "EnumOrdinal", // This violation is ubiquitous, though most are benign.
            "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
            "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
            // NEVER
            "AssignmentExpression", // Not using it is more a matter of taste.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        @Nonnull
        public String id() {
            return id;
        }
    
        public boolean isTransitive() {
            return transitive;
        }
    
        public boolean is(String id) {
            return id().equals(id);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 19 14:33:26 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                Matcher pidMatcher = pidPattern.matcher(line);
                if (commandLineArgsMatcher.find() && pidMatcher.find()) {
                    String pid = pidMatcher.group(1);
                    if (!MY_PID.equals(pid)) {
                        action.accept(pid, line);
                    }
                }
            });
        }
    
        private static List<String> ps() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. internal/auth/credentials_test.go

    		// Secret key is different in credentials to compare.
    		{cred, Credentials{AccessKey: cred.AccessKey, SecretKey: "mypassword"}, false},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.cred.Equal(testCase.ccred)
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. tests/soft_delete_test.go

    	}
    
    	if err := DB.Delete(&book).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	zeroTime, _ := now.Parse("1970-01-01 00:00:01")
    	if book.DeletedAt.Time.Equal(zeroTime) {
    		t.Errorf("book's deleted at should not be zero, DeletedAt: %v", book.DeletedAt)
    	}
    
    	if DB.First(&SoftDeleteBook{}, "name = ?", book.Name).Error == nil {
    		t.Errorf("Can't find a soft deleted record")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                <!-- everything except { and } -->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. cmd/bucket-replication-utils.go

    	ResetStatusesMap           map[string]string                 // map of ARN-> stringified reset id and timestamp for all the targets
    }
    
    // Equal returns true if replication state is identical for version purge statuses and (replica)tion statuses.
    func (rs *ReplicationState) Equal(o ReplicationState) bool {
    	return rs.ReplicaStatus == o.ReplicaStatus &&
    		rs.ReplicationStatusInternal == o.ReplicationStatusInternal &&
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

            }
    
            private void injectReactorDependency(List<MavenProject> projects, String moduleFrom, String moduleTo) {
                for (MavenProject project : projects) {
                    if (moduleFrom.equals(project.getArtifactId())) {
                        Dependency dependency = new Dependency();
                        dependency.setArtifactId(moduleTo);
                        dependency.setGroupId(project.getGroupId());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                messageBuffer.append("</configuration>");
    
                String alias = param.getAlias();
                if ((alias != null && !alias.isEmpty()) && !alias.equals(param.getName())) {
                    messageBuffer.append(LS).append(LS).append("-OR-").append(LS).append(LS);
                    messageBuffer
                            .append("<configuration>")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                throws ChecksumFailedException {
            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(checksumPolicy)) {
                throw new ChecksumFailedException(message, cause);
            } else if (!ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(checksumPolicy)) {
                // warn if it is set to anything other than ignore
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top