diff options
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}
*
|