Permalink
Browse files

#60 automapping removing commented-out-code and copyright

  • Loading branch information...
1 parent 81ce660 commit d398618aa5e514eb5c87ccfdf7ebc72fe4ecedfe @sjaakd sjaakd committed Dec 19, 2016
View
@@ -6,6 +6,7 @@ Christian Schuster
Christophe Labouisse
Ciaran Liedeman
Dilip Krishnan
+Dmytro Polovinkin
Ewald Volkert
Filip Hrisafov
Gunnar Morling
@@ -120,16 +120,7 @@ public MapMappingMethod build() {
);
if ( keyAssignment == null ) {
-
keyAssignment = forgeMapping( keySourceRHS, keySourceType, keyTargetType );
-// if ( method instanceof ForgedMethod ) {
-// // leave messaging to calling property mapping
-// return null;
-// }
-// else {
-// ctx.getMessager().printMessage( method.getExecutable(),
-// Message.MAPMAPPING_KEY_MAPPING_NOT_FOUND );
-// }
}
// find mapping method or conversion for value
@@ -82,10 +82,6 @@
private final Assignment defaultValueAssignment;
private List<ForgedMethod> forgedMethods = new ArrayList<ForgedMethod>();
- public List<ForgedMethod> getForgedMethods() {
- return forgedMethods;
- }
-
private enum TargetWriteAccessorType {
FIELD,
GETTER,
@@ -967,6 +963,10 @@ public Assignment getDefaultValueAssignment() {
return dependsOn;
}
+ public List<ForgedMethod> getForgedMethods() {
+ return forgedMethods;
+ }
+
@Override
public String toString() {
return "PropertyMapping {"

0 comments on commit d398618

Please sign in to comment.