152 Commits

Author SHA1 Message Date
sjaakd
a77a693d9d #206 adding case for protected method in same package 2014-05-09 18:44:04 +02:00
sjaakd
e144519b28 #206 adding checks on accessibility of referenced mappers and introducing unit test for that case 2014-05-09 18:44:03 +02:00
Gunnar Morling
d6a6cb25b6 #75 JavaDoc 2014-05-08 00:53:42 +02:00
Timo E aus E
080689b345 #75 got rid of hard dependency to joda library and added conversions for java.util.Date and java.util.Calendar 2014-05-04 16:30:59 +02:00
Timo E aus E
09943b2041 #75 integrated string to joda-time conversion 2014-05-04 16:29:30 +02:00
sjaakd
f58b26b519 #198 adding unit test for type conversion 2014-04-21 12:37:40 +02:00
sjaakd
51e33cb343 #198 fixing comments @agudian and applying throws clause to all MappingMethods 2014-04-21 12:11:08 +02:00
sjaakd
0ed14cd691 #198 fixed, exceptions thrown by used Mappers aren't properly handled in the generated code 2014-04-19 23:29:25 +02:00
sjaakd
b10e60d4b5 #157 removing uncommented code 2014-04-14 15:06:11 +02:00
sjaakd
01e918b3e0 #157 introduction of conversionY( methodX ( parameter ) ) 2014-04-14 15:06:11 +02:00
sjaakd
3c58551649 #157 implementing mapping methodY( conversionX ( parameter ) ) 2014-04-14 13:04:31 +02:00
Gunnar Morling
81c936190e #178 Applying formatting template; Some doc improvements 2014-04-13 13:06:01 +02:00
Andreas Gudian
c051741824 #156 correctly handle imports / fully qualified names for @TargetType class literals 2014-04-13 12:59:02 +02:00
Andreas Gudian
e5b9ee2cb1 #178 avoid unused imports in property-mappings 2014-04-13 12:59:02 +02:00
Andreas Gudian
8d6c216a2f #132 docs and incorporated some review comments 2014-04-06 21:45:30 +02:00
Gunnar Morling
e88ea868ac #132 Docs 2014-04-06 20:44:29 +02:00
Gunnar Morling
e5272fab2b #132 Formatting 2014-04-06 20:44:21 +02:00
Andreas Gudian
a41cad17bd #140, #132 - create a JUnit based test runner that is able to replace the test classloader correctly and is safe for parallel execution of test classes and methods
- migrate all tests to JUnit and remove testNG dependencies
2014-04-06 18:50:37 +02:00
Andreas Gudian
25849adfee #132 speed up tests by avoiding unneccessary compilations, allow parallel executions (with -DforkCount > 1 or with -Dparallel=classes -DthreadCount > 1) 2014-04-06 18:50:37 +02:00
sjaakd
af9074ce13 #102 addressing some comments (config iso mapperConfig, removing TYPE.PACKAGE from annotation, adding class javadoc, renaming MapperSettings to more logical MapperConfig) 2014-04-06 11:39:21 +02:00
Andreas Gudian
a8b153d980 #165 generate mapping methods declared in super-classes or implemented interfaces 2014-03-31 19:56:06 +02:00
sjaakd
c2138f2b8e #102 sharing mapper configuration and unit test 2014-03-30 10:44:30 +02:00
Andreas Gudian
828cc24650 Fix JDK 6 compilation 2014-03-28 20:43:41 +01:00
sjaakd
82c41416a2 #173 solution and added unit test with added test checks 2014-03-21 23:37:46 +01:00
Andreas Gudian
d4e2033fbb fix compilation under JDK6 javac 2014-03-16 19:43:00 +01:00
sjaakd
c10a5a6e31 #147 patch for JDK6 java.lang.AssertionError: isSubtype 15 problem, including some test updates 2014-03-16 19:32:55 +01:00
Gunnar Morling
c15503f47b #163 Raising error in case wrong decorator type is given 2014-03-05 00:50:52 +01:00
Gunnar Morling
e0da882540 #163 Adding support for decorators 2014-03-05 00:50:52 +01:00
Andreas Gudian
84902318f9 #153 Use clear() / addAll(..) for collection properties in @MappingTarget mappings 2014-03-02 23:19:03 +01:00
Gunnar Morling
cfa2dc0bd0 #142 Fixing time zone dependent tests 2014-03-02 19:17:28 +01:00
Andreas Gudian
16112a6156 #136 Add additional test to verify compatibility of @TargetType with nested mapping methods 2014-02-28 23:09:19 +01:00
Andreas Gudian
4372e726ee #136 Introduce @TargetType to pass the target type of a custom property mapping method or factory method as parameter to the method 2014-02-28 22:40:53 +01:00
Gunnar Morling
8ddb2a9fb3 #134 Formatting 2014-02-28 19:54:47 +01:00
Gunnar Morling
53ff1b7e13 #134 Some clean-up:
* Removing obsolete method
* Using more descriptive method and test name
* Some comments
2014-02-28 19:54:36 +01:00
sjaakd
27c85d8f97 #134 adding nested method match functionality including UT after merge with #135 2014-02-27 23:11:11 +01:00
sjaakd
a9e1438c1e #151 improving UT for #120 and fixing some missing imports 2014-02-27 00:12:15 +01:00
Gunnar Morling
40ed18af0b #135 Adding some JavaDocs; Removing unused method 2014-02-26 22:05:17 +01:00
Gunnar Morling
03dca9a8d4 #135 Formatting and typo fix 2014-02-26 20:03:21 +01:00
sjaakd
4d22ff7abd #135 first attempt, UT based on scope AND name now 2014-02-26 19:45:16 +01:00
sjaakd
093019b5d9 Merge branch '146' of github.com:gunnarmorling/mapstruct into gunnarmorling_146 2014-02-26 07:28:42 +01:00
Gunnar Morling
a6bb427d86 #146 Making sure result type of bean mapping method and exception types from conversions are properly referenced if they are not imported 2014-02-26 01:45:39 +01:00
Gunnar Morling
76783edc1c #128 Raising an error in case source enum constant without corresponding constant in target is not mapped 2014-02-23 17:40:22 +01:00
Gunnar Morling
d8df52dbc0 #128 Raising an error in case mapped enum constants don't exist 2014-02-23 17:40:22 +01:00
Gunnar Morling
033def2054 #128 Raising an error in case an enum constant is mapped more than once 2014-02-23 17:40:21 +01:00
Gunnar Morling
f0f3335e28 #128 Adding support for enum mapping methods 2014-02-23 17:40:19 +01:00
sjaakd
08b6008ed1 #120, solving cyclic packaging dependencies, Moved Context (as inner class) to ConversionContext in model.common, corrected BuildIn to BuiltIn, all requested built-in methods added 2014-02-22 22:56:47 +01:00
sjaakd
5cdcc88b62 #120 refactoring first attempt after feedback. Making a clean overview by squashing earlier commits on 120. Rebasing master. 2014-02-22 22:53:27 +01:00
Gunnar Morling
8c8f27ca6b #103 Formatting, added a todo 2014-02-22 10:43:46 +01:00
Andreas Gudian
8fe7a846c8 #103 keep defined accessibility modifier of mapper and mapping methods in the generated code 2014-02-16 22:26:31 +01:00
Andreas Gudian
ace47f7e67 extend current classloader instead of creating a classloader chain. 2014-02-16 22:24:59 +01:00