Toggle navigation
Home
long to java.lang.Long
No. of Instances - 4
No. of Commits - 1
No. of Projects - {'Chronicle-Queue'}
Hierarchy/Composition: -
Primitive Info: Boxing
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
field
to
getValue
new Builder().setTimeout(timeout).setParallelism(parallelism).setMigrate(migrate).setToken(token)
to
new Builder().setTimeout(timeout).setParallelism(parallelism).setMigrate(migrate).setOverlap(overlap).setToken(token)
sm.getString("endpoint.debug.socket",Long.valueOf(socket))
to
sm.getString("endpoint.debug.socket",socket)
Long.valueOf(socket)
to
socket
Long.parseLong(args[2])
to
Long.parseLong(args[0])
appResUsageReport.getMemorySeconds()
to
entry.getValue()
Rename Variable
idleValue
to
idleTime
idleValue
to
idleTime
idleValue
to
idleTime
ttlValue
to
ttl
ttlValue
to
ttl
ttlValue
to
ttl
l
to
uid
l
to
uid
l
to
uid
firstPtDepartureTime
to
departureTime
firstPtDepartureTime
to
departureTime
index
to
prevIndex
interval
to
flushInterval
interval
to
segmentInterval
stageArrivalTime
to
stageArrival
memorySeconds
to
value
timeout
to
filterHnd
cachedBytes
to
bytes
Introduce Literal
defaultValue
to
null
OFFSET_NOT_SET
to
null
OFFSET_NOT_SET
to
null
Other
PositionImpl.get(nextExistingLedger,-1)
to
nextExistingLedger != null ? PositionImpl.get(nextExistingLedger,-1) : position
p.getInodeId()
to
p.hasInodeId() ? p.getInodeId() : null
lastResponseTime
to
lastResponseTime
Cascading Type Change (Similar)
long
to
Long
long
to
Long
long
to
Long
Rename Method invocation
getLong
to
get
getLong
to
get
parseLong
to
valueOf
addAllFileIdsToProcess
to
addAllFilesToProcess
readLong
to
readObject
Update Number Literal
1
to
1L