Skip to content

Commit 171bbe1

Browse files
ralphdoefrantuma
authored andcommitted
samples updates - samples/client/petstore/swift/promisekit/PetstoreClient
1 parent 6866a6f commit 171bbe1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

samples/client/petstore/swift/promisekit/PetstoreClient/Classes/Swaggers/AlamofireImplementations.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,12 @@ class AlamofireRequestBuilder<T>: RequestBuilder<T> {
6666
switch v {
6767
case let fileURL as NSURL:
6868
mpForm.appendBodyPart(fileURL: fileURL, name: k)
69-
break
7069
case let string as NSString:
7170
mpForm.appendBodyPart(data: string.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
72-
break
7371
case let number as NSNumber:
7472
mpForm.appendBodyPart(data: number.stringValue.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
75-
break
7673
default:
7774
fatalError("Unprocessable value \(v) with key \(k)")
78-
break
7975
}
8076
}
8177
},

0 commit comments

Comments
 (0)