cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r467368 - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/phase/ rt/bindings/http/src/test/java/org/apache/cxf/binding/http/ rt/bindings/http/src/test/java/org/apache/cxf/binding/http/bare/ rt/bindings/http/src/test/java/org/apach...
Date Tue, 24 Oct 2006 15:59:48 GMT
Author: dkulp
Date: Tue Oct 24 08:59:47 2006
New Revision: 467368

URL: http://svn.apache.org/viewvc?view=rev&rev=467368
Log:
Minor eclipse warning fixes


Modified:
    incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
    incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/AbstractRestTest.java
    incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/bare/CustomerService.java
    incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/wrapped/CustomerService.java

Modified: incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java?view=diff&rev=467368&r1=467367&r2=467368
==============================================================================
--- incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
(original)
+++ incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseInterceptorChain.java
Tue Oct 24 08:59:47 2006
@@ -60,14 +60,14 @@
     private final Map<String, List<Interceptor>> nameMap = new HashMap<String,
List<Interceptor>>();
 
     private State state;
-    private Stack subChainState;
+    private Stack<State> subChainState;
     private PhaseInterceptorIterator iterator;
     private Message pausedMessage;
     private MessageObserver faultObserver;
     
     public PhaseInterceptorChain(List<Phase> ps) {
         state = State.EXECUTING;
-        subChainState = new Stack();
+        subChainState = new Stack<State>();
 
         for (Phase phase : ps) {
             List<Interceptor> ints = new ArrayList<Interceptor>();

Modified: incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/AbstractRestTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/AbstractRestTest.java?view=diff&rev=467368&r1=467367&r2=467368
==============================================================================
--- incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/AbstractRestTest.java
(original)
+++ incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/AbstractRestTest.java
Tue Oct 24 08:59:47 2006
@@ -49,8 +49,7 @@
         HttpURLConnection c = (HttpURLConnection)url.openConnection();
 
         InputStream is = c.getInputStream();
-        Document res = DOMUtils.readXml(is);
-        return res;
+        return DOMUtils.readXml(is);
     }
 
     protected Document post(String urlStr, String message) throws MalformedURLException,
IOException,
@@ -79,7 +78,6 @@
         copy(msgIs, out);
 
         InputStream is = c.getInputStream();
-        Document res = DOMUtils.readXml(is);
-        return res;
+        return DOMUtils.readXml(is);
     }
 }

Modified: incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/bare/CustomerService.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/bare/CustomerService.java?view=diff&rev=467368&r1=467367&r2=467368
==============================================================================
--- incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/bare/CustomerService.java
(original)
+++ incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/bare/CustomerService.java
Tue Oct 24 08:59:47 2006
@@ -84,7 +84,7 @@
         customers.remove(new Long(id));
     }
 
-    Customer createCustomer() {
+    final Customer createCustomer() {
         Customer c = new Customer();
         c.setName("Dan Diephouse");
         c.setId(123);

Modified: incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/wrapped/CustomerService.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/wrapped/CustomerService.java?view=diff&rev=467368&r1=467367&r2=467368
==============================================================================
--- incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/wrapped/CustomerService.java
(original)
+++ incubator/cxf/trunk/rt/bindings/http/src/test/java/org/apache/cxf/binding/http/wrapped/CustomerService.java
Tue Oct 24 08:59:47 2006
@@ -84,7 +84,7 @@
         customers.remove(new Long(id));
     }
 
-    Customer createCustomer() {
+    final Customer createCustomer() {
         Customer c = new Customer();
         c.setName("Dan Diephouse");
         c.setId(123);



Mime
View raw message