code polish
This commit is contained in:
parent
a553404284
commit
cb4eb7fce4
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user