cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1138628 - in /cxf/trunk: rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/ rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/ rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_...
Date Wed, 22 Jun 2011 20:45:46 GMT
Author: dkulp
Date: Wed Jun 22 20:45:46 2011
New Revision: 1138628

URL: http://svn.apache.org/viewvc?rev=1138628&view=rev
Log:
Fix warnings found by the latest Eclipse indigo compiler.

Modified:
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/BeanWithGregorianDate.java
    cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
    cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/JettySslConnectorFactory.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletDestination.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java

Modified: cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/BeanWithGregorianDate.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/BeanWithGregorianDate.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/BeanWithGregorianDate.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/BeanWithGregorianDate.java
Wed Jun 22 20:45:46 2011
@@ -22,7 +22,6 @@ package org.apache.cxf.aegis.type.java5;
 import javax.xml.datatype.XMLGregorianCalendar;
 
 public class BeanWithGregorianDate {
-    private static final long serialVersionUID = 1481418882118674796L;
 
     private int id;
     private String name;

Modified: cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
(original)
+++ cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
Wed Jun 22 20:45:46 2011
@@ -64,7 +64,6 @@ import org.eclipse.jetty.util.thread.Thr
  */
 public class JettyHTTPServerEngine
     implements ServerEngine {
-    private static final long serialVersionUID = 1L;
     
     private static final Logger LOG =
         LogUtils.getL7dLogger(JettyHTTPServerEngine.class);

Modified: cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/JettySslConnectorFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/JettySslConnectorFactory.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/JettySslConnectorFactory.java
(original)
+++ cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/https_jetty/JettySslConnectorFactory.java
Wed Jun 22 20:45:46 2011
@@ -28,7 +28,6 @@ import org.eclipse.jetty.server.Abstract
  * TLS enabled acceptors.
  */
 public final class JettySslConnectorFactory implements JettyConnectorFactory {
-    private static final long serialVersionUID = 1L;
     
     TLSServerParameters tlsServerParameters;
     

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java
Wed Jun 22 20:45:46 2011
@@ -99,8 +99,6 @@ public abstract class AbstractHTTPDestin
     
     private static final Logger LOG = LogUtils.getL7dLogger(AbstractHTTPDestination.class);
     
-    private static final long serialVersionUID = 1L;
-
     protected final Bus bus;
     protected final DestinationRegistry registry;
     protected final String path;

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/https/HttpsURLConnectionFactory.java
Wed Jun 22 20:45:46 2011
@@ -52,7 +52,6 @@ public class HttpsURLConnectionFactory {
      */
     public static final String HTTPS_URL_PROTOCOL_ID = "https";
 
-    private static final long serialVersionUID = 1L;
     private static final Logger LOG =
         LogUtils.getL7dLogger(HttpsURLConnectionFactory.class);
 

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletDestination.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletDestination.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletDestination.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/ServletDestination.java
Wed Jun 22 20:45:46 2011
@@ -34,8 +34,6 @@ public class ServletDestination extends 
     
     static final Logger LOG = LogUtils.getL7dLogger(ServletDestination.class);
         
-    private static final long serialVersionUID = 1L;
-    
     /**
      * Constructor, allowing subsititution of configuration.
      * 
@@ -54,7 +52,6 @@ public class ServletDestination extends 
         super(b, registry, ei, path, false);
     }
     
-    
     protected Logger getLogger() {
         return LOG;
     }

Modified: cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java?rev=1138628&r1=1138627&r2=1138628&view=diff
==============================================================================
--- cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
(original)
+++ cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLTypes.java
Wed Jun 22 20:45:46 2011
@@ -429,7 +429,7 @@ public final class WSDLTypes {
             anonymous = true;
         } else {
             StringTokenizer strtok = new StringTokenizer(typeName, ".");
-            for (int i = 0; strtok.hasMoreTokens(); ++i) {
+            while (strtok.hasMoreTokens()) {
                 String token = strtok.nextToken();
                 if (token.startsWith("_")
                     && Character.isDigit(token.charAt(1))) {



Mime
View raw message