Skip to content

Commit

Permalink
Add back file private where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
lukel97 committed Jul 10, 2017
1 parent 002f083 commit 725d94b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Sources/Franz/Consumer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
Base consumer delegate. Used by SimpleConsumer.
*/
@objc public protocol ConsumerDelegate {
/**g
/**
Called when the consumer has consumed a new Message
- Parameter message: the returned message
Expand Down Expand Up @@ -138,9 +138,9 @@ import Foundation
open class Consumer: NSObject {
internal var broker: Broker?

private var _topic: String
private var _partition: Int32
private var _clientId: String
fileprivate var _topic: String
fileprivate var _partition: Int32
fileprivate var _clientId: String

internal init(topic: String, partition: Int32, clientId: String) {
self._topic = topic
Expand Down
2 changes: 1 addition & 1 deletion Sources/Franz/Crypt/CRC32.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func ==(lhs: CRC32, rhs: CRC32) -> Bool {
}

final class CRC32: Hashable {
private var initialized = false
fileprivate var initialized = false
private(set) var crc: UInt32 = 0

var hashValue: Int {
Expand Down
12 changes: 6 additions & 6 deletions Sources/Franz/Group.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import Foundation
Base class for all Client Groups.
*/
open class Group {
private var _broker: Broker
private var _clientId: String
private var _groupProtocol: GroupProtocol
private var _groupId: String
private var _generationId: Int32
private var _version: ApiVersion = ApiVersion.defaultVersion
fileprivate var _broker: Broker
fileprivate var _clientId: String
fileprivate var _groupProtocol: GroupProtocol
fileprivate var _groupId: String
fileprivate var _generationId: Int32
fileprivate var _version: ApiVersion = ApiVersion.defaultVersion

private var _state: GroupState?

Expand Down

0 comments on commit 725d94b

Please sign in to comment.