mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Small correction of the error message
This commit is contained in:
@@ -68,7 +68,7 @@ public abstract class EnumToDbValueMap<T> {
|
||||
public Iterator<Object> beanValues() {
|
||||
return valueMap.values().iterator();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Bind using the correct database type.
|
||||
*/
|
||||
@@ -111,7 +111,7 @@ public abstract class EnumToDbValueMap<T> {
|
||||
}
|
||||
T dbValue = keyMap.get(beanValue);
|
||||
if (dbValue == null && !allowNulls) {
|
||||
String msg = "DB value for " + beanValue + " not found in " + valueMap;
|
||||
String msg = "DB value for " + beanValue + " not found in " + keyMap;
|
||||
throw new IllegalArgumentException(msg);
|
||||
}
|
||||
return dbValue;
|
||||
|
||||
Reference in New Issue
Block a user