Skip to content

Commit 3aacd77

Browse files
committed
refactor: remove redundant api_def comments from Greetings class
1 parent 5b753d8 commit 3aacd77

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints

‎appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints/Greetings.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727

2828
// [END begin]
2929

30-
// [START api_def]
31-
3230
/** Defines v1 of a helloworld API, which provides simple "greeting" methods. */
3331
@Api(
3432
name = "helloworld",
@@ -45,8 +43,7 @@ public class Greetings {
4543
greetings.add(new HelloGreeting("hello world!"));
4644
greetings.add(new HelloGreeting("goodbye world!"));
4745
}
48-
// [END api_def]
49-
46+
5047
// [START getgreetings]
5148

5249
public HelloGreeting getGreeting(@Named("id") Integer id) throws NotFoundException {

0 commit comments

Comments
 (0)