Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for addProperty (0.05 seconds)

  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. compat/maven-model/pom.xml

                  <exclude>org.apache.maven.model.Contributor#addProperty(java.lang.String,java.lang.String):METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.Dependency#clearManagementKey():METHOD_REMOVED</exclude>
                  <exclude>org.apache.maven.model.ModelBase#addProperty(java.lang.String,java.lang.String):METHOD_REMOVED</exclude>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      val packageName = "okhttp3.internal.idn"
      val idnaMappingTable = ClassName(packageName, "IdnaMappingTable")
    
      return FileSpec
        .builder(packageName, "IdnaMappingTableInstance")
        .addProperty(
          PropertySpec
            .builder("IDNA_MAPPING_TABLE", idnaMappingTable)
            .addModifiers(KModifier.INTERNAL)
            .initializer(
              """
              |%T(⇥
              |sections = "%L",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (1)
  4. 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