From 971d13d81fc00671dd7f061f1c3f426baa5b7785 Mon Sep 17 00:00:00 2001 From: David Blacka Date: Sun, 8 Feb 2009 17:32:58 +0000 Subject: [PATCH] Make the comments accurate. git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@139 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e --- src/com/verisignlabs/dnssec/cl/ZoneFormat.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/verisignlabs/dnssec/cl/ZoneFormat.java b/src/com/verisignlabs/dnssec/cl/ZoneFormat.java index 735242e..fcd5524 100644 --- a/src/com/verisignlabs/dnssec/cl/ZoneFormat.java +++ b/src/com/verisignlabs/dnssec/cl/ZoneFormat.java @@ -183,8 +183,8 @@ public class ZoneFormat while ((r = master.nextRecord()) != null) { - // This is a relatively clumsy way to lower-case all of the Names in the - // zone. + // Normalize each record by round-tripping it through canonical wire line + // format. Mostly this just lowercases names that are subject to it. byte[] wire = r.toWireCanonical(); Record canon_record = Record.fromWire(wire, Section.ANSWER); res.add(canon_record); @@ -195,7 +195,7 @@ public class ZoneFormat private static void formatZone(List zone) { - // Sort both zones. + // Put the zone into a consistent (name and RR type) order. RecordComparator cmp = new RecordComparator(); Collections.sort(zone, cmp);