mirror of
https://github.com/apache/druid.git
synced 2025-02-25 12:35:33 +00:00
TaskLocation: Add toString method.
Necessary because these objects are used in log messages.
This commit is contained in:
parent
c82b680cd4
commit
acd95d3e28
@ -82,4 +82,13 @@ public class TaskLocation
|
||||
{
|
||||
return Objects.hash(host, port);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "TaskLocation{" +
|
||||
"host='" + host + '\'' +
|
||||
", port=" + port +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user