Author: markt
Date: Wed Dec 24 07:15:10 2008
New Revision: 729320

URL: http://svn.apache.org/viewvc?rev=729320&view=rev
Log:
Fix a couple of Eclipse warnings

Modified:
    tomcat/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java
    tomcat/trunk/test/org/apache/el/lang/TestELSupport.java

Modified: tomcat/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java?rev=729320&r1=729319&r2=729320&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/tribes/demos/ChannelCreator.java Wed 
Dec 24 07:15:10 2008
@@ -193,7 +193,7 @@
         sender.setRxBufSize(43800);
         sender.setTxBufSize(25188);
 
-        Iterator i = transportProperties.keySet().iterator();
+        Iterator<Object> i = transportProperties.keySet().iterator();
         while ( i.hasNext() ) {
             String key = (String)i.next();
             
IntrospectionUtils.setProperty(sender,key,transportProperties.getProperty(key));

Modified: tomcat/trunk/test/org/apache/el/lang/TestELSupport.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/lang/TestELSupport.java?rev=729320&r1=729319&r2=729320&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/el/lang/TestELSupport.java (original)
+++ tomcat/trunk/test/org/apache/el/lang/TestELSupport.java Wed Dec 24 07:15:10 
2008
@@ -57,7 +57,7 @@
     }
 
     public void testCoerceIntegerToNumber() {
-        Integer input = 4390241;
+        Integer input = Integer.valueOf(4390241);
         Object output = ELSupport.coerceToType(input, Number.class);
         assertEquals(input, output);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to