You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/07/24 14:29:54 UTC
[GitHub] ralf0131 closed pull request #2122: [dubbo-parent] Fix demo code
error in readme file
ralf0131 closed pull request #2122: [dubbo-parent] Fix demo code error in readme file
URL: https://github.com/apache/incubator-dubbo/pull/2122
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/README.md b/README.md
index 8a41ea5daf..ea2a6a6b74 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;
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org