mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
debug output
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@360 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
caf4ea9c87
commit
76bd14cf17
1 changed files with 11 additions and 0 deletions
|
@ -49,4 +49,15 @@ public final class QueryDeparturesResult
|
|||
this.departures = null;
|
||||
this.lines = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
final StringBuilder builder = new StringBuilder(getClass().getName());
|
||||
builder.append("[").append(this.status).append(": ");
|
||||
if (departures != null)
|
||||
builder.append(departures.size()).append(" departures");
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue