diff options
| author | Neil Fuller <nfuller@google.com> | 2015-11-30 09:51:33 +0000 |
|---|---|---|
| committer | Neil Fuller <nfuller@google.com> | 2015-12-02 14:24:11 +0000 |
| commit | 71fbb81b14958b80fe55738607740c6630e4e9da (patch) | |
| tree | 1f1be8961057d82b54b99637b8e6b423ff621575 /core/java/android/annotation/StringDef.java | |
| parent | 355a74f2842b44b0ae07c5f982c50761d47d9ca0 (diff) | |
Fix @code escapes
The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.
Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
Diffstat (limited to 'core/java/android/annotation/StringDef.java')
| -rw-r--r-- | core/java/android/annotation/StringDef.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/annotation/StringDef.java b/core/java/android/annotation/StringDef.java index 5f7f380c40ec..8c8d5d8794dc 100644 --- a/core/java/android/annotation/StringDef.java +++ b/core/java/android/annotation/StringDef.java @@ -26,20 +26,20 @@ import static java.lang.annotation.RetentionPolicy.CLASS; * type and that its value should be one of the explicitly named constants. * <p> * Example: - * <pre>{@code + * <pre><code> * @Retention(SOURCE) - * @StringDef({ + * @StringDef({ * POWER_SERVICE, * WINDOW_SERVICE, * LAYOUT_INFLATER_SERVICE - * }) - * public @interface ServiceName {} + * }) + * public @interface ServiceName {} * public static final String POWER_SERVICE = "power"; * public static final String WINDOW_SERVICE = "window"; * public static final String LAYOUT_INFLATER_SERVICE = "layout_inflater"; * ... - * public abstract Object getSystemService(@ServiceName String name); - * }</pre> + * public abstract Object getSystemService(@ServiceName String name); + * </code></pre> * * @hide */ |
