cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: Fix compile issue in sample
Date Mon, 14 Jul 2014 15:15:50 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 39857567e -> 923117b48


Fix compile issue in sample


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

Branch: refs/heads/master
Commit: 923117b48a04a07d3549e3ccaf9b2519ad75c527
Parents: 3985756
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Jul 14 11:14:39 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Jul 14 11:14:39 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/demo/jms_greeter/server/Server.java          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/923117b4/distribution/src/main/release/samples/jms_queue/src/main/java/demo/jms_greeter/server/Server.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jms_queue/src/main/java/demo/jms_greeter/server/Server.java
b/distribution/src/main/release/samples/jms_queue/src/main/java/demo/jms_greeter/server/Server.java
index 1c77872..e5cac8a 100644
--- a/distribution/src/main/release/samples/jms_queue/src/main/java/demo/jms_greeter/server/Server.java
+++ b/distribution/src/main/release/samples/jms_queue/src/main/java/demo/jms_greeter/server/Server.java
@@ -49,9 +49,9 @@ public class Server {
      * @param cf
      */
     protected void publishEndpoint(Object impl, ConnectionFactory cf) {
-        ep = (EndpointImpl)Endpoint.create(impl);
-        ep.setFeatures(Collections.singletonList(new ConnectionFactoryFeature(cf)));
-        ep.publish();
+        EndpointImpl epi = (EndpointImpl)Endpoint.create(impl);
+        epi.setFeatures(Collections.singletonList(new ConnectionFactoryFeature(cf)));
+        epi.publish();
     }
 
     public void shutdown() {


Mime
View raw message