Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for addProperty (0.04 seconds)

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

  1. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

        }
    
        @Test
        void testPropertiesClear() {
            // Test for issue #11552: NullPointerException when clearing properties
            Model model = new Model();
            model.addProperty("key1", "value1");
            model.addProperty("key2", "value2");
            assertEquals(2, model.getProperties().size());
    
            // This should not throw NullPointerException
            model.getProperties().clear();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                        property.setName(field.getKey());
                        property.setValue(dispatcherConfigResult.get(field.getKey()).getResult());
                        dispatcherConfig.addProperty(property);
                    }
                    if (!dispatcherConfig.getProperties().isEmpty()) {
                        config.addConfiguration(dispatcherConfig);
                    }
                }
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top