23 Commits

Author SHA1 Message Date
sjaakd
d92b439a60 #1462 define constants as JLS literal types, enforce long L suffix 2018-04-29 09:12:49 +02:00
Kevin Grüneberg
499dbd4561 #1273 Fix for NullValueMappingStrategy#RETURN_DEFAULT when using collections
When mapping a collection using NullValueMappingStrategy#RETURN_DEFAULT and the source is null, the target will be an empty collection.
2017-09-17 23:03:24 +02:00
Filip Hrisafov
6187a72a2b #1148 Always add the generated MappingMethod if the MappingOptions are restricted to the defined mappings 2017-05-24 22:32:05 +02:00
Filip Hrisafov
15133d5a0f #777 Set initial capacity for new collection / map element in collection / map mappings 2017-05-06 15:04:42 +02:00
Filip Hrisafov
763deaa917 #1164 Split the SetterWrapperForCollections into multiple models:
* SetterWrapperForCollectionsAndMaps - Does a simple assignment without doing any null checks
* SetterWrapperForCollectionsAndMapsWithNullCheck - Does an assignment that does a null check before assignment and takes direct assignment into consideration
* ExistingInstanceSetterWrapperForCollectionsAndMaps - Used for wrapping an assignment when the method is an update method

Additionally don't do local var assignment if there are presence checkers
2017-04-25 22:41:51 +02:00
navpil
fc8ded0dec #1103 Fix issue with recursive mapping throwing a StackOverflow 2017-03-16 20:00:05 +01:00
Filip Hrisafov
9881a8803c #1104 use unmapped target policy for forged name based mappings 2017-03-15 22:04:58 +01:00
Filip Hrisafov
d4c6250944 #1102 Add support for Auto forging of Enum properties 2017-03-12 15:34:46 +01:00
Filip Hrisafov
10aeb444f5 #1091 Map ANY_REMAINING Enum source to null 2017-02-21 20:43:19 +01:00
Filip Hrisafov
3192345e33 #1057 Add source fixtures for tests 2017-02-20 00:19:31 +01:00
sjaakd
bdbee40dcf #1057 Add reproducer tests 2017-02-20 00:19:31 +01:00
Filip Hrisafov
8dbcc43a8e #1082 Do not generate an empty line after method start for NestedPropertyMappingMethod 2017-02-19 16:13:00 +01:00
Filip Hrisafov
9899504db9 #1073 Change NestedPropertyMappingMethod to not use name in its equality, but to use the Safe Properties 2017-02-19 11:50:52 +01:00
Filip Hrisafov
40fc5612cb #1060 Use update methods if there are multiple source parameters 2017-02-10 19:57:41 +01:00
Andreas Gudian
48d7963cca Merge branch '1.1-master' 2017-01-05 22:04:29 +01:00
Andreas Gudian
22b28f58db Merge branch '1.1-master' 2017-01-05 21:11:10 +01:00
Andreas Gudian
b02f8e5df5 #1032 Update license headers to 2017 2017-01-05 18:55:26 +01:00
Filip Hrisafov
ec6913618e #1007 Add additional generated code tests 2017-01-04 09:32:02 +01:00
Filip Hrisafov
8654d8f45a #1007 add base for comparing generated code to a fixed baseline 2016-12-30 19:03:45 +01:00
Andreas Gudian
050c398da6 #966 Avoid missing newlines between methods and multiple newlines (generally) by adding a checkstyle rule, fixing current incarnations. 2016-12-01 21:52:58 +01:00
Andreas Gudian
71f4a4b2ca #626 Remove blank lines before closing brackets 2015-08-17 23:02:16 +02:00
Andreas Gudian
2c2f69b0d3 #626 Remove doubled blank lines on Windows 2015-08-17 22:10:44 +02:00
Andreas Gudian
4a2f0c01ec #544 run some checkstyle rules on sources generated by our tests 2015-05-17 23:16:14 +02:00