Skip to content

Commit d66d30e

Browse files
committed
fix: Codereview fixes
1 parent 39545d6 commit d66d30e

4 files changed

Lines changed: 5 additions & 13 deletions

File tree

Sources/GoodPersistence/Configuration.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
//
2-
// File.swift
3-
//
2+
// Configuration.swift
3+
//
44
//
55
// Created by Dominik Pethö on 05/04/2024.
66
//
77

8-
import Foundation
9-
108
public final class GoodPersistence {
119

1210
/// Used for configuring the GoodPoersistance monitors

Sources/GoodPersistence/PersistenceLogger.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
//
2-
// File.swift
2+
// PersistenceLogger.swift
33
//
44
//
55
// Created by Dominik Pethö on 05/04/2024.
66
//
77

8-
import Foundation
9-
108
final class PersistenceLogger {
119

1210
static func log(error: Error) {

Sources/GoodPersistence/PersistenceMonitor.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
//
2-
// File.swift
3-
//
2+
// PersistenceMonitor.swift
3+
//
44
//
55
// Created by Dominik Pethö on 05/04/2024.
66
//
77

8-
import Foundation
9-
108
/// Extend function to receive error or message from GoodPersistance library
119
public protocol PersistenceMonitor {
1210

Tests/GoodPersistenceTests/TestMonitor.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
//
55
// Created by Dominik Pethö on 05/04/2024.
66
//
7-
8-
import Foundation
97
import GoodPersistence
108

119
final class TestMonitor: PersistenceMonitor {

0 commit comments

Comments
 (0)