Home / Function/ nullAdditionalPropertyProducesInformativeFailure() — spring-boot Function Reference

nullAdditionalPropertyProducesInformativeFailure() — spring-boot Function Reference

Architecture documentation for the nullAdditionalPropertyProducesInformativeFailure() function in BuildInfoTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1cbbaf7a_f113_71c4_0905_cb6135974b40["nullAdditionalPropertyProducesInformativeFailure()"]
  747e1eb5_4925_ee40_e737_5f1b54394a57["createTask()"]
  1cbbaf7a_f113_71c4_0905_cb6135974b40 -->|calls| 747e1eb5_4925_ee40_e737_5f1b54394a57
  18afdd1f_2fa6_8d2c_b60e_f5726def5d8a["createProject()"]
  1cbbaf7a_f113_71c4_0905_cb6135974b40 -->|calls| 18afdd1f_2fa6_8d2c_b60e_f5726def5d8a
  style 1cbbaf7a_f113_71c4_0905_cb6135974b40 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/buildinfo/BuildInfoTests.java lines 166–172

	@Test
	@SuppressWarnings("NullAway") // Test null check
	void nullAdditionalPropertyProducesInformativeFailure() {
		BuildInfo task = createTask(createProject("test"));
		assertThatException().isThrownBy(() -> task.getProperties().getAdditional().put("a", null))
			.withMessage("Cannot add an entry with a null value to a property of type Map.");
	}

Domain

Subdomains

Frequently Asked Questions

What does nullAdditionalPropertyProducesInformativeFailure() do?
nullAdditionalPropertyProducesInformativeFailure() is a function in the spring-boot codebase.
What does nullAdditionalPropertyProducesInformativeFailure() call?
nullAdditionalPropertyProducesInformativeFailure() calls 2 function(s): createProject, createTask.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free