diff options
author | Jens Geyer <jensg@apache.org> | 2023-05-11 23:27:53 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2023-05-11 23:29:07 +0200 |
commit | b5a8a883a1c5227967093c45a6bc8e36932f2711 (patch) | |
tree | 0bffe704c2d8c8617574f112fcf23e151c95a00e /lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx | |
parent | 3880a09565a9a1dad028b3679746eafac268c819 (diff) | |
download | thrift-b5a8a883a1c5227967093c45a6bc8e36932f2711.tar.gz |
THRIFT-5707 deprecation warning fixes for extern and enum
Client: hx
Patch: Jens Geyer
Diffstat (limited to 'lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx')
-rw-r--r-- | lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx b/lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx index 039a2cf3a..710c03678 100644 --- a/lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx +++ b/lib/haxe/src/org/apache/thrift/TFieldRequirementType.hx @@ -19,12 +19,11 @@ package org.apache.thrift; - /** - * Requirement type constants. - * - */ -@:enum -abstract TFieldRequirementType(Int) from Int to Int { +/** +* Requirement type constants. +* +*/ +enum abstract TFieldRequirementType(Int) from Int to Int { public static inline var REQUIRED : Int = 1; public static inline var OPTIONAL : Int = 2; public static inline var DEFAULT : Int = 3; |