]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/dao/AbstractMemoryDaoSupport.java
Working backups
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.core / src / main / java / org / argeo / server / dao / AbstractMemoryDaoSupport.java
index 236a3b858804743db63addcbc20cb0cfcbbcf3cc..27eb6f7a66e8ec7ed68aa200ee97c0cdda3d51cb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ * Copyright (C) 2007-2012 Mathieu Baudier
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,7 +13,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.argeo.server.dao;
 
 import java.beans.PropertyEditor;
@@ -151,7 +150,7 @@ public abstract class AbstractMemoryDaoSupport implements LightDaoSupport,
                return res;
        }
 
-       @SuppressWarnings("unchecked")
+       @SuppressWarnings({ "unchecked", "rawtypes" })
        public <T> List<T> list(Class<T> clss, Object filter) {
                List<T> res = new ArrayList<T>();
 
@@ -165,7 +164,7 @@ public abstract class AbstractMemoryDaoSupport implements LightDaoSupport,
                return res;
        }
 
-       @SuppressWarnings("unchecked")
+       @SuppressWarnings({ "unchecked", "rawtypes" })
        protected Class findClass(Class parent) {
                if (model.containsKey(parent))
                        return parent;