mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-01-14 15:53:53 +01:00
Suppressed an IDEA warning.
I believe that having the same style of parentheses on both sides of compare is more readable.
This commit is contained in:
@@ -9,6 +9,7 @@ final case class ReportInfo(
|
||||
|
||||
import scala.math.Ordered.orderingToOrdered
|
||||
|
||||
//noinspection ScalaUnnecessaryParentheses
|
||||
override def compare(that: ReportInfo): Int = ((projectName, subprojectNameOption, fullId)) compare ((that.projectName, that.subprojectNameOption, that.fullId))
|
||||
|
||||
// It seems to be a good idea to have a custom equals and hashCode for performance reasons
|
||||
|
||||
Reference in New Issue
Block a user