cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor update to the big query demo code
Date Wed, 20 May 2015 15:10:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 6909358de -> bdd359af4


Minor update to the big query demo code


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

Branch: refs/heads/master
Commit: bdd359af4de505f7bbe50bf9990da5788e12fd71
Parents: 6909358
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Wed May 20 16:10:10 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Wed May 20 16:10:10 2015 +0100

----------------------------------------------------------------------
 .../big_query/src/main/java/demo/jaxrs/server/BigQueryService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/bdd359af/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
index 3e6a20f..3f5f050 100644
--- a/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
+++ b/distribution/src/main/release/samples/jax_rs/big_query/src/main/java/demo/jaxrs/server/BigQueryService.java
@@ -49,7 +49,7 @@ public class BigQueryService {
 
         ResponseBuilder rb = Response.ok().type("application/json");
         Response r = rb.entity(
-                "{\"email\":\"" + userInfo.getProperty("email") + "\"}")
+                "{\"email\":\"" + userInfo.getEmail() + "\"}")
                 .build();
         return r;
     }


Mime
View raw message