Skip to content

Commit

Permalink
Correcting the demo code in readme (apache#2122)
Browse files Browse the repository at this point in the history
alexlavigne authored and ralf0131 committed Jul 24, 2018
1 parent 0b6e6f3 commit eed3db3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit eed3db3

Please sign in to comment.