summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Brawer <brawer@dandelis.ch>2002-04-30 22:01:27 +0000
committerSascha Brawer <brawer@dandelis.ch>2002-04-30 22:01:27 +0000
commit54fc37b879393a9c7200588d9198912c001dd0b3 (patch)
treed9273186565151488330a7ec205e1209b4ca2329
parent1c7e045276db075fbf800996a9ae9a2a1d3fecfc (diff)
downloadclasspath-54fc37b879393a9c7200588d9198912c001dd0b3.tar.gz
class description: Docfix for pre-formatted code without asterisks
in Javadoc.
-rw-r--r--java/util/ListResourceBundle.java47
1 files changed, 24 insertions, 23 deletions
diff --git a/java/util/ListResourceBundle.java b/java/util/ListResourceBundle.java
index a9b163392..b7b32c212 100644
--- a/java/util/ListResourceBundle.java
+++ b/java/util/ListResourceBundle.java
@@ -46,29 +46,30 @@ package java.util;
* <p>The key/value list is a two dimensional list of Object. The first
* dimension ranges over the resources. The second dimension ranges from
* zero (key) to one (value). The keys must be of type String, and they are
- * case-sensitive. For example:<br>
- * <pre>
- * public class MyResources extends ListResourceBundle
- * {
- * public Object[][] getContents()
- * {
- * return contents;
- * }
- * static final Object[][] contents
- * = {
- * // LOCALIZED STRINGS
- * {"s1", "The disk \"{1}\" contains {0}."}, // MessageFormat pattern
- * {"s2", "1"}, // location of {0} in pattern
- * {"s3", "My Disk"}, // sample disk name
- * {"s4", "no files"}, // first ChoiceFormat choice
- * {"s5", "one file"}, // second ChoiceFormat choice
- * {"s6", "{0,number} files"} // third ChoiceFormat choice
- * {"s7", "3 Mar 96"}, // sample date
- * {"s8", new Dimension(1,5)} // real object, not just string
- * // END OF LOCALIZED MATERIAL
- * };
- * }
- * </pre>
+ * case-sensitive. For example:
+ *
+<br><pre>public class MyResources
+ extends ListResourceBundle
+{
+ public Object[][] getContents()
+ {
+ return contents;
+ }
+
+ static final Object[][] contents =
+ {
+ // LOCALIZED STRINGS
+ {"s1", "The disk \"{1}\" contains {0}."}, // MessageFormat pattern
+ {"s2", "1"}, // location of {0} in pattern
+ {"s3", "My Disk"}, // sample disk name
+ {"s4", "no files"}, // first ChoiceFormat choice
+ {"s5", "one file"}, // second ChoiceFormat choice
+ {"s6", "{0,number} files"} // third ChoiceFormat choice
+ {"s7", "3 Mar 96"}, // sample date
+ {"s8", new Dimension(1,5)} // real object, not just string
+ // END OF LOCALIZED MATERIAL
+ };
+}</pre>
*
* @author Jochen Hoenicke
* @author Eric Blake <ebb9@email.byu.edu>