Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 1,476 for found (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        }
    
        public BuildStep requiredStep(MavenProject project, String name) {
            return step(project, name).orElseThrow(() -> new NoSuchElementException("Step " + name + " not found"));
        }
    
        // add a follow-up plan to this one
        public void then(BuildPlan step) {
            step.plan.forEach((k, v) -> plan.merge(k, v, this::merge));
            aliases.putAll(step.aliases);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                errOn30,
                                Version.V20,
                                "profiles.profile.id",
                                null,
                                "must be unique but found duplicate profile with id " + profile.getId(),
                                profile);
                    }
    
                    validate30RawProfileActivation(problems, profile.getActivation(), prefix);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  3. tests/associations_has_many_test.go

    	if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 {
    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    	if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
    		t.Fatalf("should only find no pet with invalid conditions, but got %v", count)
    	}
    
    	// Count
    	AssertAssociationCount(t, user, "Pets", 2, "")
    
    	// Append
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. tests/hooks_test.go

    		t.Fatalf("Can't find a deleted record")
    	}
    
    	beforeCallTimes := p.AfterFindCallTimes
    	if DB.Where("Code = ?", "unique_code").Find(&p).Error != nil {
    		t.Fatalf("Find don't raise error when record not found")
    	}
    
    	if p.AfterFindCallTimes != beforeCallTimes {
    		t.Fatalf("AfterFind should not be called")
    	}
    }
    
    func TestCallbacksWithErrors(t *testing.T) {
    	DB.Migrator().DropTable(&Product{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jun 17 03:59:06 GMT 2024
    - 16.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // Test with checked exception (IOException)
            String message = "IO error during thumbnail generation";
            Exception checkedException = new java.io.IOException("File not found");
            ThumbnailGenerationException exception = new ThumbnailGenerationException(message, checkedException);
    
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. tests/postgres_test.go

    			autoIncrement, ok := column.AutoIncrement()
    			if !ok || !autoIncrement {
    				t.Fatalf("column log_id should be auto incrementment")
    			}
    		}
    	}
    
    	if !hasLogID {
    		t.Fatalf("failed to found column log_id")
    	}
    }
    
    type Post struct {
    	ID         uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title      string
    	Categories []*Category `gorm:"Many2Many:post_categories"`
    }
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/Pac.java

                            }
                        }
                        break;
                    default:
                        if (log.isDebugEnabled()) {
                            log.debug("Found unhandled PAC buffer " + bufferType);
                        }
                    }
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed PAC", e);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/BeanDesc.java

         */
        MethodDesc getMethodDesc(String methodName, Class<?>... paramTypes);
    
        /**
         * Returns the {@link MethodDesc} that matches the given parameter types. If not found, returns {@literal null}.
         *
         * @param methodName
         *            The method name. Must not be {@literal null} or empty string
         * @param paramTypes
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Retrieves the localized label value for the given key from the current request's label map.
         *
         * @param value the label key to retrieve
         * @return the localized label value, or the key itself if not found
         */
        public static String label(final String value) {
            return LaRequestUtil.getOptionalRequest().map(req -> {
                @SuppressWarnings("unchecked")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
            if (metadata == null) {
                metadata = this.metadata;
    
                changed = true;
            } else {
                changed = metadata.merge(this.metadata);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top