Fix several typos (#1314)
Those were discorvered while casually browsing the source code in an IDE. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
This commit is contained in:
@@ -44,7 +44,7 @@ import org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect;
|
||||
* 3.a) here a cause might be an {@link SQLException} which might be mappable by
|
||||
* {@link SQLStateSQLExceptionTranslator} or
|
||||
* <p>
|
||||
* 3.b.) the the cause is not an {@link SQLException} and as a result cannot be
|
||||
* 3.b.) the cause is not an {@link SQLException} and as a result cannot be
|
||||
* mapped.
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -12,14 +12,14 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Maps property of entity to its allias .
|
||||
* Maps property of entity to its alias .
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
public final class PropertyMapper {
|
||||
|
||||
private static Map<Class<?>, Map<String, String>> allowedColmns = new HashMap<>();
|
||||
private static Map<Class<?>, Map<String, String>> allowedColumns = new HashMap<>();
|
||||
|
||||
private PropertyMapper() {
|
||||
|
||||
@@ -36,15 +36,15 @@ public final class PropertyMapper {
|
||||
* property name
|
||||
*/
|
||||
public static void addNewMapping(final Class<?> type, final String property, final String mapping) {
|
||||
allowedColmns.computeIfAbsent(type, k -> new HashMap<>());
|
||||
allowedColmns.get(type).put(property, mapping);
|
||||
allowedColumns.computeIfAbsent(type, k -> new HashMap<>());
|
||||
allowedColumns.get(type).put(property, mapping);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the allowedcolmns
|
||||
*/
|
||||
public static Map<Class<?>, Map<String, String>> getAllowedcolmns() {
|
||||
return allowedColmns;
|
||||
return allowedColumns;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user