]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/mvc/SerializingView.java
Add dep folder
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.core / src / main / java / org / argeo / server / mvc / SerializingView.java
index 2e502b58bbb84e2aa5575e1e5eb0aba4decc15f9..b42a9a0d279300e6bad4e61bfcaa1ebaf662decc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ * Copyright (C) 2007-2012 Argeo GmbH
  *
  * 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.mvc;
 
 import java.util.Locale;
@@ -51,7 +50,7 @@ public class SerializingView extends AbstractView implements MvcConstants {
                this.serializer = serializer;
        }
 
-       @SuppressWarnings( { "unchecked", "restriction" })
+       @SuppressWarnings({ "rawtypes" })
        @Override
        protected void renderMergedOutputModel(Map model,
                        HttpServletRequest request, HttpServletResponse response)
@@ -72,7 +71,7 @@ public class SerializingView extends AbstractView implements MvcConstants {
                }
        }
 
-       @SuppressWarnings("unchecked")
+       @SuppressWarnings("rawtypes")
        protected Object findAnswerInModel(Map model) {
                if (model.size() == 1) {
                        return model.values().iterator().next();