Skip to content

Commit eed3db3

Browse files
alexlavigneralf0131
authored andcommitted
Correcting the demo code in readme (#2122)
1 parent 0b6e6f3 commit eed3db3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ We are now collecting dubbo user info in order to help us to improve dubbo bette
4040
```java
4141
package org.apache.dubbo.demo;
4242

43-
public interface DemoService {
43+
public interface GreetingService {
4444
String sayHello(String name);
4545
}
4646
```
@@ -50,9 +50,9 @@ public interface DemoService {
5050
```java
5151
package org.apache.dubbo.demo.provider;
5252

53-
import org.apache.dubbo.demo.DemoService;
53+
import org.apache.dubbo.demo.GreetingService;
5454

55-
public class DemoServiceImpl implements DemoService {
55+
public class GreetingServiceImpl implements GreetingService {
5656
public String sayHello(String name) {
5757
return "Hello " + name;
5858
}

0 commit comments

Comments
 (0)