cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r605798 - in /incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server: JavascriptExample.java JavascriptExampleImpl.java data/Ingredient.java
Date Thu, 20 Dec 2007 03:52:51 GMT
Author: ningjiang
Date: Wed Dec 19 19:52:48 2007
New Revision: 605798

URL: http://svn.apache.org/viewvc?rev=605798&view=rev
Log:
Fixed the build error 

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExample.java
    incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExampleImpl.java
    incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/data/Ingredient.java

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExample.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExample.java?rev=605798&r1=605797&r2=605798&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExample.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExample.java
Wed Dec 19 19:52:48 2007
@@ -20,14 +20,16 @@
 
 import java.util.List;
 
-import demo.hw.server.data.Beverage;
-import demo.hw.server.data.Category;
-import demo.hw.server.data.Ingredient;
-
 import javax.jws.WebMethod;
 import javax.jws.WebParam;
 import javax.jws.WebService;
 import javax.jws.soap.SOAPBinding;
+
+import demo.hw.server.data.Beverage;
+import demo.hw.server.data.Category;
+import demo.hw.server.data.Ingredient;
+
+
 
 @WebService(targetNamespace = "urn:cxf.apache.org:jsjaxws")
 @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExampleImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExampleImpl.java?rev=605798&r1=605797&r2=605798&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExampleImpl.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/JavascriptExampleImpl.java
Wed Dec 19 19:52:48 2007
@@ -18,15 +18,16 @@
  */
 package demo.hw.server;
 
-import demo.hw.server.data.Beverage;
-import demo.hw.server.data.Category;
-import demo.hw.server.data.Ingredient;
-
 import java.util.ArrayList;
 import java.util.List;
 
 import javax.jws.WebService;
 
+import demo.hw.server.data.Beverage;
+import demo.hw.server.data.Category;
+import demo.hw.server.data.Ingredient;
+
+
 @WebService(endpointInterface = "demo.hw.server.JavascriptExample")
 public class JavascriptExampleImpl implements JavascriptExample {
     
@@ -105,7 +106,7 @@
         List<Beverage> matches = new ArrayList<Beverage>();
         for (Beverage b : beverages) {
             for (Ingredient bi : b.getIngredients()) {
-                if(bi == i) {
+                if (bi == i) {
                     matches.add(b);
                     break;
                 }

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/data/Ingredient.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/data/Ingredient.java?rev=605798&r1=605797&r2=605798&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/data/Ingredient.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/src/demo/hw/server/data/Ingredient.java
Wed Dec 19 19:52:48 2007
@@ -19,6 +19,9 @@
 package demo.hw.server.data;
 
 public class Ingredient {
+    private String name;
+    private Category category;     
+
     @Override
     public boolean equals(Object obj) {
         try {
@@ -29,9 +32,7 @@
         }
     }
     
-    private String name;
-    private Category category;
-    
+        
     public String getName() {
         return name;
     }



Mime
View raw message