From f92092cce747500e825727957de02fde2252f7fa Mon Sep 17 00:00:00 2001 From: BJ Miller Date: Mon, 3 Aug 2020 15:59:16 -0400 Subject: [PATCH] Remove unnecessary ternary in boolean expression --- .../Charts/Data/Implementations/Standard/BarChartDataSet.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift b/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift index 2478aeccf8..b44def0154 100644 --- a/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift +++ b/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift @@ -123,7 +123,7 @@ open class BarChartDataSet: BarLineScatterCandleBubbleChartDataSet, IBarChartDat /// `true` if this DataSet is stacked (stacksize > 1) or not. open var isStacked: Bool { - return _stackSize > 1 ? true : false + return _stackSize > 1 } /// The overall entry count, including counting each stack-value individually