diff --git a/GRDB/Core/TransactionObserver.swift b/GRDB/Core/TransactionObserver.swift index f80b591bc..a1f0beec2 100644 --- a/GRDB/Core/TransactionObserver.swift +++ b/GRDB/Core/TransactionObserver.swift @@ -21,7 +21,7 @@ extension Database { // Drop cached statements that delete, because the addition of an // observer may change the need for truncate optimization prevention. publicStatementCache.removeAll { $0.isDeleteStatement } - internalStatementCache.removeAll{ $0.isDeleteStatement } + internalStatementCache.removeAll { $0.isDeleteStatement } observationBroker.add(transactionObserver: transactionObserver, extent: extent) } diff --git a/GRDB/QueryInterface/Request/Association/AssociationAggregate.swift b/GRDB/QueryInterface/Request/Association/AssociationAggregate.swift index e827c8adb..2e75d4ff2 100644 --- a/GRDB/QueryInterface/Request/Association/AssociationAggregate.swift +++ b/GRDB/QueryInterface/Request/Association/AssociationAggregate.swift @@ -310,7 +310,7 @@ private class AssociationAggregatePreparation { /// Prepares a request so that it can use association aggregates. private class BasePreparation: - AssociationAggregatePreparation // swiftlint:disable:previous colon + AssociationAggregatePreparation { private let association: Association private let expression: SQLExpression