cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1398331 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookStore.java
Date Mon, 15 Oct 2012 15:24:15 GMT
Author: sergeyb
Date: Mon Oct 15 15:24:14 2012
New Revision: 1398331

URL: http://svn.apache.org/viewvc?rev=1398331&view=rev
Log:
Fixing the compilation failure

Modified:
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookStore.java

Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookStore.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookStore.java?rev=1398331&r1=1398330&r2=1398331&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookStore.java (original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BookStore.java Mon
Oct 15 15:24:14 2012
@@ -122,6 +122,21 @@ public class BookStore {
     }
 
     @GET
+    @Path("emptybook")
+    @Produces({"application/xml", "application/json" })
+    public Book getEmptyBook() {
+        return null;
+    }
+    
+    @GET
+    @Path("emptybook/nillable")
+    @Produces({"application/xml", "application/json" })
+    @Nullable
+    public Book getEmptyBookNullable() {
+        return null;
+    }
+    
+    @GET
     @Path("allCharsButA-B/:@!$&'()*+,;=-._~")
     public Book getWithComplexPath() {
         return new Book("Encoded Path", 125L);



Mime
View raw message