mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
[cleanup] erefactor/EclipseJdt - Invert equals arguments if parameter is constant string
EclipseJdt cleanup 'InvertEquals' applied by erefactor. For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
@@ -76,7 +76,7 @@ public class TimerTaskList implements Delayed {
|
||||
*/
|
||||
public void removeTask(TimerTask timerTask) {
|
||||
synchronized (this) {
|
||||
if (timerTask.timerTaskList.equals(this)) {
|
||||
if (this.equals(timerTask.timerTaskList)) {
|
||||
timerTask.next.prev = timerTask.prev;
|
||||
timerTask.prev.next = timerTask.next;
|
||||
timerTask.timerTaskList = null;
|
||||
|
Reference in New Issue
Block a user