581 Commits

Author SHA1 Message Date
sjaakd
1ee4731752 #1027 do not consider Inherit(Inverse)Configuration in used mappers 2017-01-08 20:18:27 +01:00
sjaakd
a69627de66 #1013 Inherit(Reverse)Configuration must only consider abstract methods 2017-01-08 19:19:01 +01:00
Andreas Gudian
283fd8ebda Merge branch '1.1-master' 2017-01-08 14:55:00 +01:00
Andreas Gudian
4063bd2eca #1029 Don't show an error when explicitly ignoring read-only properties 2017-01-08 14:38:06 +01:00
Filip Hrisafov
6b07dda829 #962 Add support for mapping Java 8 Streams 2017-01-06 09:49:16 +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
sjaakd
4d3aaf15ff #285 JAXB object factory method selection for forged lists 2016-12-27 23:00:15 +01:00
sjaakd
3b84ff797c #1009 avoid including non used createDecimalFormat helper method 2016-12-25 23:34:00 +01:00
Andreas Gudian
44fe197d3b #975 Introduce @Context annotation for passing context parameters through generated mapping methods to custom methods 2016-12-25 11:05:58 +01:00
Filip Hrisafov
00b8ae01a1 #1014 do not generate FQN for extends/super bound Types 2016-12-22 23:54:50 +01:00
sjaakd
2fdd392e19 #941 adapting strategy naming of safe variable names 2016-12-21 22:02:19 +01:00
Filip Hrisafov
ea6493d983 #657 Using bean mapping result types works when the map return type is not an interface 2016-12-20 23:31:57 +01:00
Filip Hrisafov
fc0f13a7a1 #999 make sure that the qualifiedName of the class is trimmed before doing any comparisons for import check 2016-12-20 00:06:12 +01:00
Andreas Gudian
79f87e8833 #975 Refactor method-matching to unify selection and rendering of mapping method, factories and lifecycle methods 2016-12-19 22:36:12 +01:00
navpil
81ce66044f #60 automapping 2016-12-19 21:45:14 +01:00
Pascal
075e763556 #469 Consider return values of BeforeMapping/AfterMapping methods
This allows to handle cycles in object graphs, as demonstrated in the
test case CallbacksWithReturnValuesTest
2016-12-04 16:15:19 +01:00
Filip Hrisafov
746f49fe3d #557 Provide a way to use direct field mappings within mapstruct 2016-12-03 21:57:13 +01:00
Filip Hrisafov
bfad22edf7 Merge branch '1.1-master' 2016-12-02 22:58:43 +01:00
Filip Hrisafov
a20b077150 #980 Add tests for the Strings class 2016-12-02 22:56:15 +01:00
Filip Hrisafov
3dac7d9f41 #978 make sure that the safe variable name does not contain dots in it, if it does split it and join and camelize the parts 2016-12-02 22:56:15 +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
Remo
35b8972d76 #824 Target Bean Factory
Introduced @ObjectFactory annotation to distinguish between factory and
mapping methods. Until now this was decided based on the lack of
parameters. @ObjectFactory gives a factory access to source object by
defining them as parameters.
2016-12-01 10:38:37 +01:00
Filip Hrisafov
980acba2ac #971 Make sure that an Iterable or Map MapingMethod are equal if their source parameters are from the same type 2016-11-30 01:37:39 +01:00
sjaakd
4c4a9ea934 #954 cleanup 2016-11-14 22:49:47 +01:00
sjaakd
9186978e1f #954 Explicit set to null NOT for NVCS.ALWAYS and presence-checkers 2016-11-14 22:49:31 +01:00
sjaakd
48181ae09e #913 New property mapping collection handling, unit test extension 2016-11-14 22:49:08 +01:00
sjaakd
71a6ef4836 #955 Import type param type when call to upd. method for coll.impl type 2016-11-14 22:28:16 +01:00
sjaakd
1fa0c4aa3b #913 New property mapping collection handling 2016-11-06 20:48:10 +01:00
Andreas Gudian
4832369148 #892 If multiple setters exist, don't override the setter if it doesn't match the property getters type. 2016-11-02 22:27:59 +01:00
sjaakd
c105630379 #689 Moving test to right spot and making it Locale independent. 2016-10-25 21:48:08 +02:00
sjaakd
a1131e68c9 #689 Joda LocalTime to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
aec5922bd0 #689 Joda LocalDate to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
e43b00d29c #689 Joda LocalDateTime to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
13395f5958 #689 Joda DateTime to XmlGregorianCalendar built in and vice versa 2016-10-25 21:48:08 +02:00
sjaakd
b653c6b464 #931 nested forged methods return wrapped type when target is an object 2016-10-23 22:23:57 +02:00
Gunnar Morling
c64919829a #852 Adding explicit conversion for LocalDate <> XMLGregorianCalendar 2016-10-23 21:00:57 +02:00
Peter Larson
e13696172e #852 Expanding converters to cover java 8 LocalDate to java.util.Date 2016-10-23 21:00:47 +02:00
Andreas Gudian
d94d5857ce #919 Fix compilation error in map-mapping methods with non-generic maps as source 2016-10-10 20:04:44 +02:00
Gunnar Morling
7b0079c6be #915 Adding debug information to class files created during tests 2016-09-29 22:24:18 +02:00
Gunnar Morling
2bbc733932 #858 Deleting unused class 2016-09-29 19:20:14 +02:00
Andreas Gudian
7bd1ed6180 #909 Avoid using 'values' as parameter name to work around a supsected issue in Freemarker. 2016-09-26 22:46:05 +02:00
Andreas Gudian
f822000f92 #853 Minor adjustments after review 2016-09-21 22:42:59 +02:00
stefan.may
1be3c4dbaa #853 Enable support for Iterable / Map classes which are not generic, like they are generated by JAXB (e.g. public class StringList extends List<String>) 2016-09-21 22:42:58 +02:00
Gunnar Morling
9753fdc17a #765 Omitting "return" key word when returning from decorated void method 2016-09-21 22:26:43 +02:00
Filip Hrisafov
5fd0c3e3d4 remove builtin methods; remove test which is not needed anymore 2016-09-21 19:55:20 +02:00
Filip Hrisafov
c5dc2ccb92 use SimpleConversion for java.sql mappings 2016-09-21 19:55:20 +02:00