mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Switch Optional.ofNullable() to Optional.fromNullable() in EppMetric
The latter is the canonical way to call it; the former is not available in public Guava (and is just a pass-through to fromNullable anyway). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132441956
This commit is contained in:
parent
2ddf40f692
commit
3d9369fae7
1 changed files with 5 additions and 5 deletions
|
@ -69,11 +69,11 @@ public abstract class EppMetric implements BigQueryMetric {
|
||||||
requestId,
|
requestId,
|
||||||
startTimestamp,
|
startTimestamp,
|
||||||
endTimestamp,
|
endTimestamp,
|
||||||
Optional.ofNullable(commandName),
|
Optional.fromNullable(commandName),
|
||||||
Optional.ofNullable(clientId),
|
Optional.fromNullable(clientId),
|
||||||
Optional.ofNullable(privilegeLevel),
|
Optional.fromNullable(privilegeLevel),
|
||||||
Optional.ofNullable(eppTarget),
|
Optional.fromNullable(eppTarget),
|
||||||
Optional.ofNullable(status),
|
Optional.fromNullable(status),
|
||||||
attempts);
|
attempts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue