From 3aacd77ab2ddc2dcf3642466c6aa01af535ca7f1 Mon Sep 17 00:00:00 2001 From: Kevin Gordillo Date: Tue, 25 Aug 2026 17:34:42 +0000 Subject: [PATCH] refactor: remove redundant api_def comments from Greetings class --- .../src/main/java/com/example/helloendpoints/Greetings.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints/Greetings.java b/appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints/Greetings.java index f5becaf3bd9..5df237a35f9 100644 --- a/appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints/Greetings.java +++ b/appengine-java8/endpoints-v2-migration/src/main/java/com/example/helloendpoints/Greetings.java @@ -27,8 +27,6 @@ // [END begin] -// [START api_def] - /** Defines v1 of a helloworld API, which provides simple "greeting" methods. */ @Api( name = "helloworld", @@ -45,8 +43,7 @@ public class Greetings { greetings.add(new HelloGreeting("hello world!")); greetings.add(new HelloGreeting("goodbye world!")); } - // [END api_def] - + // [START getgreetings] public HelloGreeting getGreeting(@Named("id") Integer id) throws NotFoundException {