mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +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,
|
||||
startTimestamp,
|
||||
endTimestamp,
|
||||
Optional.ofNullable(commandName),
|
||||
Optional.ofNullable(clientId),
|
||||
Optional.ofNullable(privilegeLevel),
|
||||
Optional.ofNullable(eppTarget),
|
||||
Optional.ofNullable(status),
|
||||
Optional.fromNullable(commandName),
|
||||
Optional.fromNullable(clientId),
|
||||
Optional.fromNullable(privilegeLevel),
|
||||
Optional.fromNullable(eppTarget),
|
||||
Optional.fromNullable(status),
|
||||
attempts);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue