summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/info
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon/carbonado/info')
-rw-r--r--src/main/java/com/amazon/carbonado/info/ConversionComparator.java4
-rw-r--r--src/main/java/com/amazon/carbonado/info/StorableIndex.java6
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 &lt;0 if "a" is nearest, 0 if both are equally good, &gt;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>&lt;storable type&gt;~&lt;attr&gt;&lt;+|-|~&gt;&lt;property&gt;&lt;+|-|~&gt;&lt;property&gt;...</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}
*