From ff099591a06f8ef38f93052da5811ce9492ff62a Mon Sep 17 00:00:00 2001 From: Christian Kaltepoth Date: Fri, 29 Nov 2024 10:52:17 +0100 Subject: [PATCH] Fixed confusing parameter name in CNAMERecord --- src/main/java/org/xbill/DNS/CNAMERecord.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/xbill/DNS/CNAMERecord.java b/src/main/java/org/xbill/DNS/CNAMERecord.java index 5033d9fe..1449e4e2 100644 --- a/src/main/java/org/xbill/DNS/CNAMERecord.java +++ b/src/main/java/org/xbill/DNS/CNAMERecord.java @@ -16,10 +16,10 @@ public class CNAMERecord extends SingleCompressedNameBase { /** * Creates a new CNAMERecord with the given data * - * @param alias The name to which the CNAME alias points + * @param target The name to which the CNAME alias points */ - public CNAMERecord(Name name, int dclass, long ttl, Name alias) { - super(name, Type.CNAME, dclass, ttl, alias, "alias"); + public CNAMERecord(Name name, int dclass, long ttl, Name target) { + super(name, Type.CNAME, dclass, ttl, target, "target"); } /** Gets the target of the CNAME Record */