Toggle navigation
Home
long to java.time.Instant
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'infinispan'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Update Class Instacne Creation
new Timestamp(time)
to
new Timestamp(time.getEpochSecond())
new Timestamp(createTime)
to
new Timestamp(createTime.getEpochSecond())
new Timestamp(time)
to
new Timestamp(time.getEpochSecond())
new Timestamp(time)
to
new Timestamp(time.getEpochSecond())
Add or Remove Method invocation
ts
to
provider.getTime(ts)
startTime
to
txTime.equals(msgTime)
txTime
to
msgTime.isAfter(startTime)
expect(mediator.lock(defaultLockID,tx,new StandardTimepoint(ts + defaultExpireNS,times)))
to
expect(mediator.lock(defaultLockID,tx,ts.plus(defaultExpireNS)))
expect(times.sleepPast(new StandardTimepoint(ls.getWriteTimestamp(TimeUnit.NANOSECONDS) + defaultWaitNS,times)))
to
expect(times.sleepPast(ls.getWriteTimestamp().plus(defaultWaitNS)))
eq(currentTimeNS - defaultExpireNS)
to
eq(currentTimeNS.minus(defaultExpireNS))
andReturn
to
andReturn
expect(mediator.lock(defaultLockID,tx,new StandardTimepoint(currentTimeNS + defaultExpireNS,times)))
to
expect(mediator.lock(defaultLockID,tx,currentTimeNS.plus(defaultExpireNS)))
andReturn
to
andReturn
expect(mediator.lock(defaultLockID,tx,new StandardTimepoint(currentTimeNS + defaultExpireNS,times)))
to
expect(mediator.lock(defaultLockID,tx,currentTimeNS.plus(defaultExpireNS)))
Duration.between(gtfsStorage.getStartDate().atStartOfDay(),LocalDateTime.parse(request.getHints().get(RANGE_QUERY_END_TIME,"")))
to
Instant
commit.timestamp()
to
commit.time().toEpochMilli()
commit.timestamp()
to
commit.time().toEpochMilli()
time
to
instant.toEpochMilli()
commit.timestamp()
to
commit.time().toEpochMilli()
time
to
instant.toEpochMilli()
lastAccessedTime
to
lastAccessedTime.toEpochMilli()
date.compareTo(new Date(now))
to
date.compareTo(now)
async(() -> logDate(now))
to
supplierToString(() -> logDate(now))
Other
>=
to
||
<=
to
||
new StandardTimepoint(currentTimeNS,times)
to
currentTimeNS
new StandardTimepoint(currentTimeNS,times)
to
currentTimeNS
new StandardTimepoint(currentTimeNS,times)
to
currentTimeNS
new StandardTimepoint(currentTimeNS,times)
to
currentTimeNS
timestamp
to
timestamp
0L
to
Instant.EPOCH
Rename Variable
jobStartTimeMS
to
jobStartTime
jobStartTimeMS
to
jobStartTime
timestamp
to
time
time
to
instant
time
to
instant
timestamp
to
created
timestamp
to
created
startMillis
to
startInstant
startMillis
to
startInstant
endMillis
to
endInstant
Cascading Type Change (Similar)
long
to
Instant
long
to
Instant
long
to
Instant