Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,489 for New (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

    class PropertiesAsMapTest {
    
        @Test
        void testPropertiesAsMap() {
            Properties props = new Properties();
            props.setProperty("foo1", "bar1");
            props.setProperty("foo2", "bar2");
            PropertiesAsMap pam = new PropertiesAsMap(props);
            assertEquals(2, pam.size());
            Set<Entry<String, String>> set = pam.entrySet();
            assertNotNull(set);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

        private ExtensionDescriptorBuilder builder;
    
        @BeforeEach
        void setUp() throws Exception {
            builder = new ExtensionDescriptorBuilder();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            builder = null;
        }
    
        private InputStream toStream(String xml) {
            return new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

        private SmartProjectComparator comparator;
        private ProjectDependencyGraph dependencyGraph;
    
        @BeforeEach
        void setUp() {
            dependencyGraph = new ProjectDependencyGraphStub();
            comparator = new SmartProjectComparator(dependencyGraph);
        }
    
        @Test
        void testProjectWeightCalculation() {
            // Test that projects with longer downstream chains get higher weights
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. internal/logger/logrotate.go

    		}
    	}
    
    	path := filepath.Join(w.opts.Directory, w.opts.FileNameFunc())
    	f, err := newFile(path)
    	if err != nil {
    		return fmt.Errorf("unable to create new file at %v: %w", path, err)
    	}
    
    	w.f = f
    
    	return nil
    }
    
    // NewDir creates a new concurrency safe Writer which performs log rotation.
    func NewDir(opts Options) (io.WriteCloser, error) {
    	if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        private final Version version;
    
        /**
         * Creates a new problem with the specified message and exception.
         *
         * @param message The message describing the problem, may be {@code null}.
         * @param severity The severity level of the problem, may be {@code null} to default to
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        private final Map<String, ActivationSettings> activations = new HashMap<>();
    
        /**
         * Mimics the pre-Maven 4 "active profiles" list.
         * @deprecated Use {@link #getRequiredActiveProfileIds()} and {@link #getOptionalActiveProfileIds()} instead.
         */
        @Deprecated
        public List<String> getActiveProfiles() {
            return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> pa.active())));
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. schema/serializer.go

    type JSONSerializer struct{}
    
    // Scan implements serializer interface
    func (JSONSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	fieldValue := reflect.New(field.FieldType)
    
    	if dbValue != nil {
    		var bytes []byte
    		switch v := dbValue.(type) {
    		case []byte:
    			bytes = v
    		case string:
    			bytes = []byte(v)
    		default:
    			bytes, err = json.Marshal(v)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:29:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. ci/official/utilities/rename_and_verify_wheels.sh

    #
    # Usage: rename_and_verify_wheels.sh
    # This script is aware of TFCI_ variables, so it doesn't need any arguments.
    # Puts new wheel through auditwheel to rename and verify it, deletes the old
    # one, checks the filesize, and then ensures the new wheel is installable.
    set -exo pipefail
    
    cd "$TFCI_OUTPUT_DIR"
    
    # Move extra wheel files somewhere out of the way. This script
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Sep 22 21:39:32 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

                if (className == null) {
                    return null;
                }
            }
            if (matcher.group(2) == null) {
                return linkRenderer.link(new TypeMetaData(className), listener);
            }
    
            ClassMetaData targetClass;
            if (className != null) {
                targetClass = repository.find(className);
                if (targetClass == null) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

         * Updates the model version element in a POM document.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @param newVersion the new model version
         */
        public static void updateModelVersion(Document pomDocument, String newVersion) {
            Editor editor = new Editor(pomDocument);
            Element root = editor.root();
            if (root == null) {
                return;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top