Merge "Issue 7279. Fixes in i18n plural forms page and readme."
diff --git a/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md b/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md
index 253d591..9764b7e 100644
--- a/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md
+++ b/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md
@@ -32,9 +32,9 @@
 <p>First, an example <tt>Messages</tt> interface:
 <pre class="prettyprint">
 @DefaultLocale("en") // not required since this is the default
-public class MyMessages extends Messages {
+public interface MyMessages extends Messages {
   @DefaultMessage("There are {0,number} items in your cart.")
-  @AlternateMessage({"one", "There is 1 item in your cart.")
+  @AlternateMessage({"one", "There is 1 item in your cart."})
   String cartItems(@PluralCount int itemCount);
 }
 </pre></p>
@@ -102,12 +102,12 @@
 as:
 
 <pre class="prettyprint">
-public class MyMessages extends Messages {
+public interface MyMessages extends Messages {
   @DefaultMessage("There are {0,number} items in your cart.")
   @AlternateMessage({
       "one", "There is 1 item in your cart.",
-      "=0", "Your cart is empty.",
-  )
+      "=0", "Your cart is empty."
+  })
   String cartItems(@PluralCount int itemCount);
 }
 </pre></p>
@@ -136,14 +136,14 @@
 
 
 <pre class="prettyprint">
-public class MyMessages extends Messages {
+public interface MyMessages extends Messages {
   @DefaultMessage("{1}, {2} and {0} others are here.")
   @AlternateMessage({
       "=0", "Nobody is here.",
       "=1", "{1} is  here.",
       "=2", "{1} and {2} are here.",
-      "one", "{1}, {2}, and one other are here.",
-  )
+      "one", "{1}, {2}, and one other are here."
+  })
   String peopleHere(@PluralCount @Offset(2) String[] names, String name1,
       String name2);
 }
@@ -175,7 +175,7 @@
 formatting lists, using the locale-appropriate separators.  For example:
 
 <pre class="prettyprint">
-public class MyMessages extends Messages {
+public interface MyMessages extends Messages {
   @DefaultMessage("Orders {0,list,number} are ready for pickup.")
   @AlternateMessage({
       "=0", "No orders are ready for pickup.",