This is an automated email from the ASF dual-hosted git repository.

huxing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 2300fca  Package name error (#3354)
2300fca is described below

commit 2300fca22f4534b11ecaed3a7ba4e5a8de82773f
Author: lankunkk <[email protected]>
AuthorDate: Sat Jan 26 22:21:39 2019 +0800

    Package name error (#3354)
---
 README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 5b00da2..c14d8e9 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ There's a 
[README](https://github.com/dubbo/dubbo-samples/blob/master/dubbo-samp
 ### Define service interfaces
 
 ```java
-package org.apache.dubbo.demo.api;
+package org.apache.dubbo.samples.api;
 
 public interface GreetingService {
     String sayHello(String name);
@@ -85,9 +85,9 @@ public interface GreetingService {
 ### Implement service interface for the provider
 
 ```java
-package org.apache.dubbo.demo.provider;
+package org.apache.dubbo.samples.provider;
  
-import org.apache.dubbo.demo.GreetingService;
+import org.apache.dubbo.samples.api.GreetingService;
  
 public class GreetingServiceImpl implements GreetingService {
     public String sayHello(String name) {
@@ -106,7 +106,7 @@ package org.apache.dubbo.demo.provider;
 import com.alibaba.dubbo.config.ApplicationConfig;
 import com.alibaba.dubbo.config.RegistryConfig;
 import com.alibaba.dubbo.config.ServiceConfig;
-import org.apache.dubbo.demo.GreetingService;
+import org.apache.dubbo.samples.api.GreetingService;
 
 import java.io.IOException;
  
@@ -141,7 +141,7 @@ package org.apache.dubbo.demo.consumer;
 import com.alibaba.dubbo.config.ApplicationConfig;
 import com.alibaba.dubbo.config.ReferenceConfig;
 import com.alibaba.dubbo.config.RegistryConfig;
-import org.apache.dubbo.demo.GreetingService;
+import org.apache.dubbo.samples.api.GreetingService;
 
 public class Application {
     public static void main(String[] args) {

Reply via email to