From c543c0d8dc2f9c13fa0181dd7c7d60e447cb1d7f Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Mon, 7 Nov 2016 10:41:38 -0800 Subject: [PATCH] Fixing escaping of asterisk in javadoc (#723) The `*` form is rejected by javadoc. --- .../com/google/api/codegen/util/java/JavaRenderingUtil.java | 2 +- .../google/api/codegen/testdata/java_main_library.baseline | 4 ++-- .../api/codegen/testdata/java_package-info_library.baseline | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/google/api/codegen/util/java/JavaRenderingUtil.java b/src/main/java/com/google/api/codegen/util/java/JavaRenderingUtil.java index a50c2b801b..18d41a45d6 100644 --- a/src/main/java/com/google/api/codegen/util/java/JavaRenderingUtil.java +++ b/src/main/java/com/google/api/codegen/util/java/JavaRenderingUtil.java @@ -29,7 +29,7 @@ public class JavaRenderingUtil { .addEscape('&', "&") .addEscape('<', "<") .addEscape('>', ">") - .addEscape('*', "*") + .addEscape('*', "*") .build(); /** diff --git a/src/test/java/com/google/api/codegen/testdata/java_main_library.baseline b/src/test/java/com/google/api/codegen/testdata/java_main_library.baseline index 10d490266b..93a88c6fc8 100644 --- a/src/test/java/com/google/api/codegen/testdata/java_main_library.baseline +++ b/src/test/java/com/google/api/codegen/testdata/java_main_library.baseline @@ -84,10 +84,10 @@ import java.util.concurrent.ScheduledExecutorService; * resource model: * * - The API has a collection of [Shelf][google.example.library.v1.Shelf] - * resources, named ``bookShelves/*`` + * resources, named ``bookShelves/*`` * * - Each Shelf has a collection of [Book][google.example.library.v1.Book] - * resources, named `bookShelves/*/books/*` + * resources, named `bookShelves/*/books/*` * * Check out [cloud docs!](/library/example/link). * This is [not a cloud link](http://www.google.com). diff --git a/src/test/java/com/google/api/codegen/testdata/java_package-info_library.baseline b/src/test/java/com/google/api/codegen/testdata/java_package-info_library.baseline index ee1201c00d..7ef6594069 100644 --- a/src/test/java/com/google/api/codegen/testdata/java_package-info_library.baseline +++ b/src/test/java/com/google/api/codegen/testdata/java_package-info_library.baseline @@ -29,10 +29,10 @@ * resource model: * * - The API has a collection of [Shelf][google.example.library.v1.Shelf] - * resources, named ``bookShelves/*`` + * resources, named ``bookShelves/*`` * * - Each Shelf has a collection of [Book][google.example.library.v1.Book] - * resources, named `bookShelves/*/books/*` + * resources, named `bookShelves/*/books/*` * * Check out [cloud docs!](/library/example/link). * This is [not a cloud link](http://www.google.com).