mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Merge pull request #116 from srcarter3/v20
Remove change that copied MJ
This commit is contained in:
commit
fdfc08bbe9
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@
|
||||||
# ------------ ---------- ----------- --------------------------
|
# ------------ ---------- ----------- --------------------------
|
||||||
# 07/28/11 dgilling Initial Creation.
|
# 07/28/11 dgilling Initial Creation.
|
||||||
# 12/02/13 2537 bsteffen Serialize empty enum sets.
|
# 12/02/13 2537 bsteffen Serialize empty enum sets.
|
||||||
# 09/11/23 srcarter@ucar MJ change for set has no attribute getEnumClass
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -43,7 +42,7 @@ ClassAdapter = ['java.util.EnumSet', 'java.util.RegularEnumSet']
|
||||||
def serialize(context, set):
|
def serialize(context, set):
|
||||||
setSize = len(set)
|
setSize = len(set)
|
||||||
context.writeI32(setSize)
|
context.writeI32(setSize)
|
||||||
context.writeString(bufferset.getEnumClass())
|
context.writeString(set.getEnumClass())
|
||||||
for val in set:
|
for val in set:
|
||||||
context.writeString(val)
|
context.writeString(val)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue