ntlcn / xmappr

Automatically exported from code.google.com/p/xmappr
0 stars 0 forks source link

Simplify ElementMapper #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ElementMapper handles both Collection and simple fields as targets. Code
contains a lot of branching (if() clauses) to facilitate this. To unify the
code, remove targetType and elementConverter fields and all code that
depends on them. Replace them with itemTypes and converterCache collections
which already exist for Collections handling. Also check
AnnotationProcessor.processElements() method that sets this two fields and
replace accordingly.

Original issue reported on code.google.com by peter.kn...@gmail.com on 28 Nov 2009 at 7:36

GoogleCodeExporter commented 8 years ago

Original comment by peter.kn...@gmail.com on 30 Nov 2009 at 12:04

GoogleCodeExporter commented 8 years ago

Original comment by peter.kn...@gmail.com on 8 Jan 2010 at 9:04

GoogleCodeExporter commented 8 years ago

Original comment by peter.kn...@gmail.com on 8 Jan 2010 at 9:05

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r259.

Original comment by peter.kn...@gmail.com on 21 Jan 2010 at 10:50