diff options
author | Rene Treffer <treffer@measite.de> | 2014-07-23 21:53:38 +0200 |
---|---|---|
committer | Rene Treffer <treffer@measite.de> | 2014-07-23 21:55:16 +0200 |
commit | 70d403f0b612f6cb26b8fc194e35c622c5383167 (patch) | |
tree | e2ccf8f9415cb7515fb24e53f4498b200d635df2 /src/main/java/de/measite/minidns/Question.java | |
parent | b0f8bec1cbfa6d21e0873c63d5213bd12d429bd8 (diff) |
Better / more verbose toString
Diffstat (limited to 'src/main/java/de/measite/minidns/Question.java')
-rw-r--r-- | src/main/java/de/measite/minidns/Question.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/de/measite/minidns/Question.java b/src/main/java/de/measite/minidns/Question.java index 62862251..88300356 100644 --- a/src/main/java/de/measite/minidns/Question.java +++ b/src/main/java/de/measite/minidns/Question.java @@ -134,4 +134,9 @@ public class Question { byte o[] = ((Question)other).toByteArray(); return Arrays.equals(t, o); } + + @Override + public String toString() { + return "Question/" + clazz + "/" + type + ": " + name; + } } |