From 71fbb81b14958b80fe55738607740c6630e4e9da Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Mon, 30 Nov 2015 09:51:33 +0000 Subject: 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 --- core/java/android/annotation/StringDef.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/java/android/annotation/StringDef.java') 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. *

* Example: - *

{@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);
- * }
+ * public abstract Object getSystemService(@ServiceName String name); + *
* * @hide */ -- cgit v1.2.3