diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2008-04-19 21:28:19 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2008-04-19 21:28:19 +0000 |
commit | 59185851eda16b725d47a56ec71d954944522400 (patch) | |
tree | 353de8c2e06057acdbd2b1bfca48a00066c08ee2 /src/main/java/com/amazon/carbonado/info | |
parent | 675c72f1e6819e75aff99dd140c83a93b5372026 (diff) |
Use Javadoc literals.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/info')
-rw-r--r-- | src/main/java/com/amazon/carbonado/info/ConversionComparator.java | 4 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/info/StorableIndex.java | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/com/amazon/carbonado/info/ConversionComparator.java b/src/main/java/com/amazon/carbonado/info/ConversionComparator.java index 6582d27..0feac47 100644 --- a/src/main/java/com/amazon/carbonado/info/ConversionComparator.java +++ b/src/main/java/com/amazon/carbonado/info/ConversionComparator.java @@ -84,8 +84,8 @@ class ConversionComparator implements Comparator<Class> { /**
* Evaluates two types, to see which one is nearest to the from type.
- * Return <0 if "a" is nearest, 0 if both are equally good, >0 if "b" is
- * nearest.
+ * Return {@literal <0} if "a" is nearest, 0 if both are equally good,
+ * {@literal >0} if "b" is nearest.
*/
public int compare(Class toType_a, Class toType_b) {
TypeDesc from = mFrom;
diff --git a/src/main/java/com/amazon/carbonado/info/StorableIndex.java b/src/main/java/com/amazon/carbonado/info/StorableIndex.java index 49697c0..9806c61 100644 --- a/src/main/java/com/amazon/carbonado/info/StorableIndex.java +++ b/src/main/java/com/amazon/carbonado/info/StorableIndex.java @@ -543,8 +543,10 @@ public class StorableIndex<S extends Storable> implements Appender { /**
* Converts this index into a parseable name descriptor string, whose
* general format is:
- * <pre><storable type>~<attr><+|-|~><property><+|-|~><property>...</pre>
- * Attr is "U" for a unique index, "N" for a non-unique index.
+ *
+ * <p>{@code <storable type>~<attr><+|-|~><property><+|-|~><property>...}
+ *
+ * <p>Attr is "U" for a unique index, "N" for a non-unique index.
*
* <p>Example: {@code my.pkg.UserInfo~N+lastName+firstName-birthDate}
*
|