Skip to content

Commit

Permalink
Spotless apply
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <carrofin@amazon.com>
  • Loading branch information
finnegancarroll committed Jan 17, 2025
1 parent a5086e2 commit 3a6dcb1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ protected boolean canOptimize(ValuesSourceConfig config) {
* The filter rewrite optimized path does not support bucket intervals which are not fixed.
* For this reason we exclude non UTC timezones.
*/
if (config.format() instanceof DocValueFormat.DateTime &&
!isUTCTimeZone(((DocValueFormat.DateTime) config.format()).getZoneId())
) {
if (config.format() instanceof DocValueFormat.DateTime && !isUTCTimeZone(((DocValueFormat.DateTime) config.format()).getZoneId())) {
return false;
}

Expand Down

0 comments on commit 3a6dcb1

Please sign in to comment.