You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2018/07/24 14:30:14 UTC
[incubator-dubbo] branch master updated: Correcting the demo code
in readme (#2122)
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 eed3db3 Correcting the demo code in readme (#2122)
eed3db3 is described below
commit eed3db38851242923a287114af811f84a13ef91b
Author: Alex Lavigne <35...@users.noreply.github.com>
AuthorDate: Tue Jul 24 22:29:52 2018 +0800
Correcting the demo code in readme (#2122)
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 8a41ea5..ea2a6a6 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ We are now collecting dubbo user info in order to help us to improve dubbo bette
```java
package org.apache.dubbo.demo;
-public interface DemoService {
+public interface GreetingService {
String sayHello(String name);
}
```
@@ -50,9 +50,9 @@ public interface DemoService {
```java
package org.apache.dubbo.demo.provider;
-import org.apache.dubbo.demo.DemoService;
+import org.apache.dubbo.demo.GreetingService;
-public class DemoServiceImpl implements DemoService {
+public class GreetingServiceImpl implements GreetingService {
public String sayHello(String name) {
return "Hello " + name;
}