From 59185851eda16b725d47a56ec71d954944522400 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 19 Apr 2008 21:28:19 +0000 Subject: Use Javadoc literals. --- src/main/java/com/amazon/carbonado/info/ConversionComparator.java | 4 ++-- src/main/java/com/amazon/carbonado/info/StorableIndex.java | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/info') 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 { /** * 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 implements Appender { /** * Converts this index into a parseable name descriptor string, whose * general format is: - *
<storable type>~<attr><+|-|~><property><+|-|~><property>...
- * Attr is "U" for a unique index, "N" for a non-unique index. + * + *

{@code ~<+|-|~><+|-|~>...} + * + *

Attr is "U" for a unique index, "N" for a non-unique index. * *

Example: {@code my.pkg.UserInfo~N+lastName+firstName-birthDate} * -- cgit v1.2.3