abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r571832 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
Date Sat, 01 Sep 2007 17:27:26 GMT
Author: jmsnell
Date: Sat Sep  1 10:27:25 2007
New Revision: 571832

URL: http://svn.apache.org/viewvc?rev=571832&view=rev
Log:
Deal with miscellaneous compile warnings

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java?rev=571832&r1=571831&r2=571832&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
Sat Sep  1 10:27:25 2007
@@ -39,10 +39,9 @@
 import org.apache.commons.logging.LogFactory;
 
 /**
- * Simple APP servlet.
- * 
- * @version $Id$
+ * Simple Atompub servlet.
  */
+@SuppressWarnings("unchecked") 
 public class AbderaServlet 
   extends HttpServlet {
 
@@ -120,7 +119,7 @@
   
   protected Map<String,String> getProperties(ServletConfig config) {
     Map<String,String> properties = new HashMap<String,String>();
-    Enumeration e = config.getInitParameterNames();
+    Enumeration<String> e = config.getInitParameterNames();
     while(e.hasMoreElements()) {
       String key = (String) e.nextElement();
       String val = config.getInitParameter(key);



Mime
View raw message