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

clear() — spring-boot Function Reference

Architecture documentation for the clear() function in AbstractLoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  cca4fb90_6111_020d_43de_d7f5a242d67e["clear()"]
  92995811_bbbf_e711_c7ce_7aa014dfd78f["configureTempDir()"]
  92995811_bbbf_e711_c7ce_7aa014dfd78f -->|calls| cca4fb90_6111_020d_43de_d7f5a242d67e
  d724961d_a761_2616_a2c2_2b9cebf2a034["setup()"]
  d724961d_a761_2616_a2c2_2b9cebf2a034 -->|calls| cca4fb90_6111_020d_43de_d7f5a242d67e
  8a226655_54d5_897b_52c3_90c04e1db20c["cleanUp()"]
  8a226655_54d5_897b_52c3_90c04e1db20c -->|calls| cca4fb90_6111_020d_43de_d7f5a242d67e
  style cca4fb90_6111_020d_43de_d7f5a242d67e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/AbstractLoggingSystemTests.java lines 62–68

	@AfterEach
	void clear() {
		for (LoggingSystemProperty property : LoggingSystemProperty.values()) {
			System.getProperties().remove(property.getEnvironmentVariableName());
		}
		MDC.clear();
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does clear() do?
clear() is a function in the spring-boot codebase.
What calls clear()?
clear() is called by 3 function(s): cleanUp, configureTempDir, setup.

Analyze Your Own Codebase

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

Try Supermodel Free