mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
no effective code change - fixed warnings about serialization, override, raw-types (#1032)
This commit is contained in:
1 parent
989ae44a6d
commit
0413c22e6e
34 files changed
+59
-12
No files matched your search
@@ -18,7 +18,7 @@ public class DJsonScalar {
|
||||
this.typeManager = typeManager;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
public void write(JsonGenerator gen, Object value) throws IOException {
|
||||
|
||||
if (value instanceof String) {
|
||||
|
||||
@@ -198,7 +198,7 @@ public class ReadJson {
|
||||
* If there is a JsonReadBeanVisitor registered to the current path then
|
||||
* call it's visit method with the bean and unmappedProperties.
|
||||
*/
|
||||
@SuppressWarnings(value = "unchecked")
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
public void beanVisitor(Object bean, Map<String, Object> unmappedProperties) {
|
||||
if (visitorMap != null) {
|
||||
JsonReadBeanVisitor visitor = visitorMap.get(pathStack.peekWithNull());
|
||||
|
||||
Reference in new issue
Block a user