From baa0daa478c3b16876ccc0778f068fb72932dda6 Mon Sep 17 00:00:00 2001 From: Kino Roy Date: Fri, 21 Oct 2022 00:20:35 -0700 Subject: THRIFT-5653: Update TType.uuid raw value to 16 (#2717) Removes non-standard utf8 type with raw value 16 and replaces uuid raw value with 16 --- lib/swift/Sources/TCompactProtocol.swift | 2 -- lib/swift/Sources/TProtocol.swift | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/swift/Sources/TCompactProtocol.swift b/lib/swift/Sources/TCompactProtocol.swift index 482178e8e..812df25c1 100644 --- a/lib/swift/Sources/TCompactProtocol.swift +++ b/lib/swift/Sources/TCompactProtocol.swift @@ -208,8 +208,6 @@ public class TCompactProtocol: TProtocol { case .map: return .map case .set: return .set case .list: return .list - case .utf8: return .binary - //case .utf16: return .binary case .uuid: return .uuid } } diff --git a/lib/swift/Sources/TProtocol.swift b/lib/swift/Sources/TProtocol.swift index 87e3bc5c1..ed6db6fa3 100644 --- a/lib/swift/Sources/TProtocol.swift +++ b/lib/swift/Sources/TProtocol.swift @@ -40,9 +40,7 @@ public enum TType: Int32 { case map = 13 case set = 14 case list = 15 - case utf8 = 16 - //case utf16 = 17 - case uuid = 17 + case uuid = 16 } public protocol TProtocol { -- cgit v1.2.1