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

equals() — spring-boot Function Reference

Architecture documentation for the equals() function in LoggerConfiguration.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  89357755_b4e5_20cf_82b2_e0385f3bfd25["equals()"]
  c120f639_9904_3e55_b9dd_42e934fbe997["equals()"]
  c120f639_9904_3e55_b9dd_42e934fbe997 -->|calls| 89357755_b4e5_20cf_82b2_e0385f3bfd25
  4e1b320d_6348_c60d_811f_637ffe0484dd["setLogLevel()"]
  4e1b320d_6348_c60d_811f_637ffe0484dd -->|calls| 89357755_b4e5_20cf_82b2_e0385f3bfd25
  0c81c8a7_d17d_2c10_84fe_27b409761f10["getLoggerName()"]
  0c81c8a7_d17d_2c10_84fe_27b409761f10 -->|calls| 89357755_b4e5_20cf_82b2_e0385f3bfd25
  d5a45f32_c776_3a3d_047f_0ffd69df1fe0["getLogger()"]
  d5a45f32_c776_3a3d_047f_0ffd69df1fe0 -->|calls| 89357755_b4e5_20cf_82b2_e0385f3bfd25
  bd65415b_ebfc_9f8d_9700_abc5695489ca["isAlreadyInitialized()"]
  bd65415b_ebfc_9f8d_9700_abc5695489ca -->|calls| 89357755_b4e5_20cf_82b2_e0385f3bfd25
  c120f639_9904_3e55_b9dd_42e934fbe997["equals()"]
  89357755_b4e5_20cf_82b2_e0385f3bfd25 -->|calls| c120f639_9904_3e55_b9dd_42e934fbe997
  style 89357755_b4e5_20cf_82b2_e0385f3bfd25 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/LoggerConfiguration.java lines 121–133

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null || getClass() != obj.getClass()) {
			return false;
		}
		LoggerConfiguration other = (LoggerConfiguration) obj;
		return ObjectUtils.nullSafeEquals(this.name, other.name)
				&& ObjectUtils.nullSafeEquals(this.levelConfiguration, other.levelConfiguration)
				&& ObjectUtils.nullSafeEquals(this.inheritedLevelConfiguration, other.inheritedLevelConfiguration);
	}

Domain

Subdomains

Calls

  • equals()

Frequently Asked Questions

What does equals() do?
equals() is a function in the spring-boot codebase.
What does equals() call?
equals() calls 1 function(s): equals.
What calls equals()?
equals() is called by 5 function(s): equals, getLogger, getLoggerName, isAlreadyInitialized, setLogLevel.

Analyze Your Own Codebase

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

Try Supermodel Free