Java generator fix for simple types.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7601 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa
2020-08-13 16:58:05 +00:00
parent d7364ed9f8
commit 8dd89d1af9
2 changed files with 25 additions and 11 deletions

View File

@ -306,14 +306,14 @@ const
// JAVA
JAVA_SIMPLE_TYPES_COUNT = 11;
JAVA_SIMPLE_TYPES : Array[0..Pred(JAVA_SIMPLE_TYPES_COUNT)] Of array[0..2] of string = (
('char', '', ''),
('byte', '', ''),
('short', '', ''),
('int', '', ''),
('long', '', ''),
('float', '', ''),
('double', '', ''),
('boolean', '', ''),
('char', 'Character', ''),
('byte', 'Byte', ''),
('short', 'Short', ''),
('int', 'Integer', ''),
('long', 'Long', ''),
('float', 'Float', ''),
('double', 'Double', ''),
('boolean', 'Boolean', ''),
('String', '', 'string'),
('String', '', 'dateTime') , //('java.util.OffsetDateTime', '', 'dateTime') ,
//('java.time.OffsetTime', '', 'time') ,