forked from elaatifi/orika
-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from kasramp/master
Minor clean up
- Loading branch information
Showing
26 changed files
with
78 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,11 +33,12 @@ | |
public interface MappingHint { | ||
|
||
/** | ||
* @param sourceExpression | ||
* @param fromProperty | ||
* @param fromPropertyType | ||
* @return a suggested optional mapping name for the given property, | ||
* or <code>null</code> if no suggestion for the given property | ||
*/ | ||
public String suggestMappedField(String fromProperty, Class<?> fromPropertyType); | ||
String suggestMappedField(String fromProperty, Class<?> fromPropertyType); | ||
|
||
|
||
/** | ||
|
@@ -46,7 +47,7 @@ public interface MappingHint { | |
* | ||
* @author [email protected] | ||
*/ | ||
public static class DefaultFieldMappingConverter implements DefaultFieldMapper { | ||
class DefaultFieldMappingConverter implements DefaultFieldMapper { | ||
|
||
private MappingHint delegate; | ||
public DefaultFieldMappingConverter(MappingHint delegate) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ public interface MappingStrategy extends MappedTypePair<Object, Object> { | |
* @param context the current mapping context | ||
* @return the mapping result | ||
*/ | ||
public Object map(Object sourceObject, Object destinationObject, MappingContext context); | ||
Object map(Object sourceObject, Object destinationObject, MappingContext context); | ||
|
||
/** | ||
* MappingStrategyKey defines the minimum information necessary to cache a | ||
|
@@ -49,7 +49,7 @@ public interface MappingStrategy extends MappedTypePair<Object, Object> { | |
* @author [email protected] | ||
* | ||
*/ | ||
public static final class Key { | ||
final class Key { | ||
|
||
private final Class<?> rawSourceType; | ||
private final java.lang.reflect.Type sourceType; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,5 +31,4 @@ public enum Properties { | |
UNENHANCE_STRATEGY, | ||
FILTERS, | ||
CAPTURE_FIELD_CONTEXT | ||
; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.