MAPREDUCE-6838. Addendum to fix code comment
This commit is contained in:
parent
08f40bcc7f
commit
16ba4f544f
|
@ -187,8 +187,7 @@ public class TimelineV2ClientImpl extends TimelineV2Client {
|
||||||
if (collectorAddr == null || collectorAddr.isEmpty()) {
|
if (collectorAddr == null || collectorAddr.isEmpty()) {
|
||||||
collectorAddr = timelineServiceAddress;
|
collectorAddr = timelineServiceAddress;
|
||||||
}
|
}
|
||||||
// Token need not be updated if either address or token service does not
|
// Token need not be updated if both address and token service do not exist.
|
||||||
// exist.
|
|
||||||
String service = delegationToken.getService();
|
String service = delegationToken.getService();
|
||||||
if ((service == null || service.isEmpty()) &&
|
if ((service == null || service.isEmpty()) &&
|
||||||
(collectorAddr == null || collectorAddr.isEmpty())) {
|
(collectorAddr == null || collectorAddr.isEmpty())) {
|
||||||
|
|
Loading…
Reference in New Issue