add a comment

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_opentype@302 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/util/ARecordCaster.java b/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/util/ARecordCaster.java
index bb7d5e3..505e769 100644
--- a/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/util/ARecordCaster.java
+++ b/asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/util/ARecordCaster.java
@@ -160,7 +160,7 @@
     private void matchClosedPart(List<SimpleValueReference> fieldNames, List<SimpleValueReference> fieldTypeTags,
             List<SimpleValueReference> fieldValues) {
         // sort-merge based match
-        quickSort(fieldNamesSortedIndex, fieldNames, 0, numInputFields-1);
+        quickSort(fieldNamesSortedIndex, fieldNames, 0, numInputFields - 1);
         int fnStart = 0;
         int reqFnStart = 0;
         while (fnStart < numInputFields && reqFnStart < reqFieldNames.size()) {
@@ -268,6 +268,7 @@
     }
 
     private int compare(IValueReference a, IValueReference b) {
+        // start+1 and len-1 due to the type tag
         return fieldNameComparator.compare(a.getBytes(), a.getStartIndex() + 1, a.getLength() - 1, b.getBytes(),
                 b.getStartIndex() + 1, b.getLength() - 1);
     }