aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/measite/minidns/Question.java
diff options
context:
space:
mode:
authorRene Treffer <treffer@measite.de>2014-07-23 21:53:38 +0200
committerRene Treffer <treffer@measite.de>2014-07-23 21:55:16 +0200
commit70d403f0b612f6cb26b8fc194e35c622c5383167 (patch)
treee2ccf8f9415cb7515fb24e53f4498b200d635df2 /src/main/java/de/measite/minidns/Question.java
parentb0f8bec1cbfa6d21e0873c63d5213bd12d429bd8 (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.java5
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;
+ }
}