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