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

removeSystemProperties() — spring-boot Function Reference

Architecture documentation for the removeSystemProperties() function in ConfigurationPropertiesTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  64dc82f7_d332_87b2_d807_a3ae4b4c01ae["removeSystemProperties()"]
  85dfae9f_96f7_fb46_d17b_c49f1f4ac3c1["loadWhenHasIgnoreUnknownFieldsFalseAndNoUnknownFieldsShouldBind()"]
  85dfae9f_96f7_fb46_d17b_c49f1f4ac3c1 -->|calls| 64dc82f7_d332_87b2_d807_a3ae4b4c01ae
  a73733e9_d5ff_87db_62b1_25a3049b7838["loadWhenHasIgnoreUnknownFieldsFalseAndUnknownFieldsShouldFail()"]
  a73733e9_d5ff_87db_62b1_25a3049b7838 -->|calls| 64dc82f7_d332_87b2_d807_a3ae4b4c01ae
  3eb10079_003f_03d5_bde0_85f15a29c28f["givenIgnoreUnknownFieldsFalseAndIgnoreInvalidFieldsTrueWhenThereAreUnknownFieldsThenBindingShouldFail()"]
  3eb10079_003f_03d5_bde0_85f15a29c28f -->|calls| 64dc82f7_d332_87b2_d807_a3ae4b4c01ae
  2946dbaa_d0ed_a305_1f90_e3a45c70140a["loadWhenBindingWithDefaultsInXmlShouldBind()"]
  2946dbaa_d0ed_a305_1f90_e3a45c70140a -->|calls| 64dc82f7_d332_87b2_d807_a3ae4b4c01ae
  19b58f82_9b4f_f8c2_df5b_8e2517710bba["loadWhenBindingWithParentContextShouldBind()"]
  19b58f82_9b4f_f8c2_df5b_8e2517710bba -->|calls| 64dc82f7_d332_87b2_d807_a3ae4b4c01ae
  630c236b_b23e_e315_4c75_c3ccae279013["loadWhenFailsShouldIncludeAnnotationDetails()"]
  630c236b_b23e_e315_4c75_c3ccae279013 -->|calls| 64dc82f7_d332_87b2_d807_a3ae4b4c01ae
  style 64dc82f7_d332_87b2_d807_a3ae4b4c01ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java lines 1351–1355

	private void removeSystemProperties() {
		MutablePropertySources sources = this.context.getEnvironment().getPropertySources();
		sources.remove("systemProperties");
		sources.remove("systemEnvironment");
	}

Domain

Subdomains

Called By

  • givenIgnoreUnknownFieldsFalseAndIgnoreInvalidFieldsTrueWhenThereAreUnknownFieldsThenBindingShouldFail()
  • loadWhenBindingWithDefaultsInXmlShouldBind()
  • loadWhenBindingWithParentContextShouldBind()
  • loadWhenFailsShouldIncludeAnnotationDetails()
  • loadWhenHasIgnoreUnknownFieldsFalseAndNoUnknownFieldsShouldBind()
  • loadWhenHasIgnoreUnknownFieldsFalseAndUnknownFieldsShouldFail()

Frequently Asked Questions

What does removeSystemProperties() do?
removeSystemProperties() is a function in the spring-boot codebase.
What calls removeSystemProperties()?
removeSystemProperties() is called by 6 function(s): givenIgnoreUnknownFieldsFalseAndIgnoreInvalidFieldsTrueWhenThereAreUnknownFieldsThenBindingShouldFail, loadWhenBindingWithDefaultsInXmlShouldBind, loadWhenBindingWithParentContextShouldBind, loadWhenFailsShouldIncludeAnnotationDetails, loadWhenHasIgnoreUnknownFieldsFalseAndNoUnknownFieldsShouldBind, loadWhenHasIgnoreUnknownFieldsFalseAndUnknownFieldsShouldFail.

Analyze Your Own Codebase

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

Try Supermodel Free