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:
mcilwain 2016-09-07 09:00:07 -07:00 committed by Ben McIlwain
parent 2ddf40f692
commit 3d9369fae7

View file

@ -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);
} }