mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Java: "'equals()' called on 'BigDecimal'" is no longer a cleanup tool (IDEA-354348)
sind replacing BigDecimal.equals() calls with BigDecimal.compareTo() calls slightly changes the semantics which can cause bugs GitOrigin-RevId: 2a2d147b0953e1616e028ada8d7de369fe3da0b1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7438be23bf
commit
5b375ff7a2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2003-2021 Dave Griffith, Bas Leijdekkers
|
||||
* Copyright 2003-2024 Dave Griffith, Bas Leijdekkers
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,6 @@
|
||||
package com.siyeh.ig.numeric;
|
||||
|
||||
import com.intellij.codeInsight.Nullability;
|
||||
import com.intellij.codeInspection.CleanupLocalInspectionTool;
|
||||
import com.intellij.codeInspection.CommonQuickFixBundle;
|
||||
import com.intellij.codeInspection.LocalQuickFix;
|
||||
import com.intellij.codeInspection.dataFlow.NullabilityUtil;
|
||||
@@ -38,7 +37,7 @@ import com.siyeh.ig.psiutils.ParenthesesUtils;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public final class BigDecimalEqualsInspection extends BaseInspection implements CleanupLocalInspectionTool {
|
||||
public final class BigDecimalEqualsInspection extends BaseInspection {
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user