Toggle navigation
Home
com.google.common.base.Optional<java.util.UUID> to java.util.UUID
No. of Instances - 14
No. of Commits - 3
No. of Projects - {'usergrid'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Add or Remove Method invocation
applicationName
to
applicationName.toLowerCase()
applicationName
to
applicationName.toLowerCase()
CacheBuilder.newBuilder().maximumSize(fig.getCacheSize()).expireAfterWrite(fig.getCacheTimeout(),TimeUnit.MILLISECONDS).build(new CacheLoader<String,UUID>(){ @Override public Optional<UUID> load( final String key) throws Exception { return Optional.fromNullable(fetchApplicationId(key)); } } )
to
CacheBuilder.newBuilder().maximumSize(fig.getCacheSize()).expireAfterWrite(fig.getCacheTimeout(),TimeUnit.MILLISECONDS).build(new CacheLoader<String,UUID>(){ @Override public UUID load( final String key) throws Exception { return fetchApplicationId(key); } } )
optionalAppId.get()
to
optionalAppId
getEntityManager
to
getEntityManager
appId.get()
to
appId
Cascading Type Change (Different)
CacheLoader<String,Optional<UUID>>
to
CacheLoader<String,UUID>
Rename Method invocation
invalidate
to
get