use the perfectly OK (now) TypeMap.toString() method.

This commit is contained in:
David Blacka 2012-07-16 14:16:42 -04:00
parent 3da308c4b9
commit a45f5d1df7
1 changed files with 2 additions and 8 deletions

View File

@ -242,14 +242,8 @@ public class ProtoNSEC3
sb.append(' ');
String nextstr = (next == null) ? "(null)" : b32.toString(next);
sb.append(nextstr);
int[] types = getTypes();
for (int i = 0; i < types.length; i++)
{
sb.append(" ");
sb.append(Type.string(types[i]));
}
if (originalOwner != null) sb.append(" ; " + originalOwner);
sb.append(' ');
sb.append(typemap.toString());
return sb.toString();
}