Polishing

This commit is contained in:
Sam Brannen
2023-08-07 17:47:11 +03:00
parent 21a007bb15
commit f4b5738869
2 changed files with 34 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -114,9 +114,8 @@ class ApplicationListenerDetector implements DestructionAwareBeanPostProcessor,
@Override
public boolean equals(@Nullable Object other) {
return (this == other ||
(other instanceof ApplicationListenerDetector applicationListenerDetector &&
this.applicationContext == applicationListenerDetector.applicationContext));
return (this == other || (other instanceof ApplicationListenerDetector that &&
this.applicationContext == that.applicationContext));
}
@Override