Selaa lähdekoodia

Remove line-ending spaces from Swift source files.

Tim Burks 8 vuotta sitten
vanhempi
commit
b4dc0a0952

+ 1 - 1
Examples/Simple/Xcode/Simple/Document.swift

@@ -244,7 +244,7 @@ class Document: NSDocument {
         Swift.print("call error \(callError)")
       }
     }
-    
+
     self.server.onCompletion() {
       self.log("Server Stopped")
       self.updateInterfaceAfterStopping()

+ 1 - 1
Sources/gRPC/Call.swift

@@ -248,7 +248,7 @@ public class Call {
         (self.messageQueue.count == Call.messageQueueMaxLength) {
         throw CallWarning.blocked
       }
-      self.messageQueue.append(data) 
+      self.messageQueue.append(data)
     } else {
       self.writing = true
       try self.sendWithoutBlocking(data: data, errorHandler:errorHandler)

+ 2 - 2
Sources/gRPC/Mutex.swift

@@ -35,9 +35,9 @@ public class Mutex {
 
   /// Locks a Mutex
   ///
-  /// Waits until no thread has a lock on the Mutex, 
+  /// Waits until no thread has a lock on the Mutex,
   /// causes the calling thread to own an exclusive lock on the Mutex,
-  /// then returns. 
+  /// then returns.
   ///
   /// May block indefinitely or crash if the calling thread has a lock on the Mutex.
   public func lock() {

+ 1 - 1
Sources/gRPC/OperationGroup.swift

@@ -109,7 +109,7 @@ internal class OperationGroup {
   }
 
   /// WARNING: The following assumes that at most one operation of each type is in the group.
-  
+
   /// Gets the message that was received
   ///
   /// - Returns: message

+ 1 - 1
Tests/gRPCTests/GRPCTests.swift

@@ -23,7 +23,7 @@ func Log(_ message : String) {
 }
 
 class gRPCTests: XCTestCase {
-  
+
   func testBasicSanity() {
     gRPC.initialize()
     let latch = CountDownLatch(2)