Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and joonhaengHeo committed Nov 1, 2023
1 parent e09afd7 commit 2b52a30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/py_matter_idl/matter_idl/generators/java/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,18 +525,18 @@ def java_tlv_type(self):
elif isinstance(t, BasicInteger):
# the >= 3 will include int24_t to be considered "long"
if t.is_signed:
return "Int"
return "Int"
else:
return "UInt"
return "UInt"
elif isinstance(t, BasicString):
if t.is_binary:
return "ByteArray"
else:
return "String"
elif isinstance(t, IdlEnumType):
return "UInt"
return "UInt"
elif isinstance(t, IdlBitmapType):
return "UInt"
return "UInt"
else:
return "Any"

Expand Down

0 comments on commit 2b52a30

Please sign in to comment.