Author: apetrelli
Date: Fri Jun 27 12:11:05 2008
New Revision: 672359

URL: http://svn.apache.org/viewvc?rev=672359&view=rev
Log:
Removed unnecessary @SuppressWarnings.

Modified:
    
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java
    
tiles/framework/trunk/tiles-core/src/test/java/org/apache/tiles/definition/LocaleDefinitionsFactoryTest.java

Modified: 
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java
URL: 
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java?rev=672359&r1=672358&r2=672359&view=diff
==============================================================================
--- 
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java
 (original)
+++ 
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/util/ServletContextAdapter.java
 Fri Jun 27 12:11:05 2008
@@ -124,19 +124,18 @@
     }
 
     /** [EMAIL PROTECTED] */
-    @SuppressWarnings("deprecation")
     public Servlet getServlet(String string) throws ServletException {
         return rootContext.getServlet(string);
     }
 
     /** [EMAIL PROTECTED] */
-    @SuppressWarnings({ "deprecation", "unchecked" })
+    @SuppressWarnings({ "unchecked" })
     public Enumeration getServlets() {
         return rootContext.getServlets();  //To change body of implemented 
methods use File | Settings | File Templates.
     }
 
     /** [EMAIL PROTECTED] */
-    @SuppressWarnings({ "deprecation", "unchecked" })
+    @SuppressWarnings({ "unchecked" })
     public Enumeration getServletNames() {
         return rootContext.getServletNames();
     }
@@ -147,7 +146,6 @@
     }
 
     /** [EMAIL PROTECTED] */
-    @SuppressWarnings("deprecation")
     public void log(Exception exception, String string) {
         rootContext.log(exception, string);
     }

Modified: 
tiles/framework/trunk/tiles-core/src/test/java/org/apache/tiles/definition/LocaleDefinitionsFactoryTest.java
URL: 
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/src/test/java/org/apache/tiles/definition/LocaleDefinitionsFactoryTest.java?rev=672359&r1=672358&r2=672359&view=diff
==============================================================================
--- 
tiles/framework/trunk/tiles-core/src/test/java/org/apache/tiles/definition/LocaleDefinitionsFactoryTest.java
 (original)
+++ 
tiles/framework/trunk/tiles-core/src/test/java/org/apache/tiles/definition/LocaleDefinitionsFactoryTest.java
 Fri Jun 27 12:11:05 2008
@@ -85,7 +85,6 @@
      *
      * @throws Exception If something goes wrong.
      */
-    @SuppressWarnings("unchecked")
     public void testReadDefinitions() throws Exception {
         // Set up multiple data sources.
         URL url1 = this.getClass().getClassLoader().getResource(
@@ -131,7 +130,6 @@
      *
      * @throws Exception If something goes wrong.
      */
-    @SuppressWarnings("unchecked")
     public void testGetDefinition() throws Exception {
         // Set up multiple data sources.
         URL url1 = this.getClass().getClassLoader().getResource(
@@ -229,7 +227,6 @@
      *
      * @throws Exception If something goes wrong.
      */
-    @SuppressWarnings("unchecked")
     public void testReadByLocale() throws Exception {
         // Set up multiple data sources.
         URL url1 = this.getClass().getClassLoader().getResource(


Reply via email to