code polish

This commit is contained in:
nathan 2018-03-03 23:20:01 +01:00
parent a553404284
commit cb4eb7fce4

View File

@ -240,13 +240,14 @@ class Header implements Cloneable {
/**
* Converts the header into a String
*/
@Override
public
String toString() {
return toStringWithRcode(getRcode());
}
/**
* Retrieves the mesasge's rcode
* Retrieves the message's rcode
*
* @see DnsResponseCode
*/
@ -339,5 +340,4 @@ class Header implements Cloneable {
}
return sb.toString();
}
}