cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [2/2] git commit: CXF-5923: Create sample to demonstrate usage of search extension with Lucene and Tika. Added error handling to UI component.
Date Tue, 09 Sep 2014 12:59:29 GMT
CXF-5923: Create sample to demonstrate usage of search extension with Lucene and Tika. Added
error handling to UI component.


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/0aaa2b57
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/0aaa2b57
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/0aaa2b57

Branch: refs/heads/master
Commit: 0aaa2b5742a53bf31704939e4bc21906100bbc54
Parents: 85c06fc
Author: reta <drreta@gmail.com>
Authored: Tue Sep 9 08:59:14 2014 -0400
Committer: reta <drreta@gmail.com>
Committed: Tue Sep 9 08:59:14 2014 -0400

----------------------------------------------------------------------
 .../search/src/main/java/demo/jaxrs/search/server/Catalog.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/0aaa2b57/distribution/src/main/release/samples/jax_rs/search/src/main/java/demo/jaxrs/search/server/Catalog.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/search/src/main/java/demo/jaxrs/search/server/Catalog.java
b/distribution/src/main/release/samples/jax_rs/search/src/main/java/demo/jaxrs/search/server/Catalog.java
index 7e52421..0732f8c 100644
--- a/distribution/src/main/release/samples/jax_rs/search/src/main/java/demo/jaxrs/search/server/Catalog.java
+++ b/distribution/src/main/release/samples/jax_rs/search/src/main/java/demo/jaxrs/search/server/Catalog.java
@@ -135,8 +135,7 @@ public class Catalog {
                         } 
                         
                         if (response.isSuspended()) {
-                            response.resume(Response
-                                    .created(uri.getRequestUriBuilder().path(source).build())
+                            response.resume(Response.created(uri.getRequestUriBuilder().path(source).build())
                                     .build());
                         }
                     }                       


Mime
View raw message