Match |
Replace |
Instances |
isVeryGood |
isGood |
isChange |
Relevant Instances |
Commits |
Project |
Link |
calendar.getTime() |
past.plusDays(1) |
2 |
False |
False |
True |
2 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
:[TCIVar]=dateFormat.parse(:[v1]) |
:[TCIVar]=LocalDate.parse(:[v1],DateTimeFormatter.ISO_DATE) |
2 |
False |
False |
True |
2 |
['22140bcb33608aed04c6d17c3c819fb2eea3e6e7'] |
['optaplanner'] |
Link |
Duration.between(:[v1].toInstant(),:[TCIVar].toInstant()) |
Duration.between(:[v1].atStartOfDay(),:[TCIVar].atStartOfDay()) |
1 |
False |
False |
True |
1 |
['0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['hadoop'] |
Link |
:[v0].before(:[TCIVar]) |
:[v0].isBefore(:[TCIVar]) |
2 |
True |
True |
True |
2 |
['f7c28214d59231d46e161a9d76a4bd4cbbfffffa', '0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['cucumber-jvm', 'hadoop'] |
Link |
new Date(:[v0] - 1900,:[v2] - 1,:[v1],23,59,59) |
LocalDate.of(:[v0],:[v2],:[v1]) |
1 |
False |
False |
True |
1 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
calendar.getTime() |
before.plusDays(1) |
2 |
False |
False |
True |
2 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
:[TCIVar].toInstant() |
:[TCIVar].atStartOfDay() |
2 |
False |
False |
True |
2 |
['0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['hadoop'] |
Link |
Date.from(now) |
LocalDate.now() |
3 |
False |
False |
True |
3 |
['0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['hadoop'] |
Link |
:[TCIVar].before(:[v1]) |
:[TCIVar].isBefore(:[v1]) |
1 |
False |
False |
True |
1 |
['0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['hadoop'] |
Link |
:[v0].parse(:[v1]) |
:[v0].parse(:[v1],LocalDate::from) |
1 |
False |
False |
True |
1 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
date.setRangeEnd(:[TCIVar]) |
d.setRangeEnd(:[TCIVar].plusMonths(1)) |
1 |
False |
False |
True |
1 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
(Date):[v0] |
(LocalDate):[v0] |
2 |
False |
False |
True |
2 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
:[TCIVar] |
:[TCIVar].plusMonths(1) |
1 |
False |
False |
True |
1 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
:[v0].parse(:[v1],Date.class) |
:[v0].parse(:[v1],LocalDate.class) |
1 |
False |
False |
True |
1 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
dateFormat.parse(:[v0]) |
LocalDate.parse(:[v0],DateTimeFormatter.ISO_DATE) |
2 |
False |
False |
True |
2 |
['22140bcb33608aed04c6d17c3c819fb2eea3e6e7'] |
['optaplanner'] |
Link |
Date.from(now.plus(Duration.ofDays(:[v0]))) |
notBefore.plus(:[v0],ChronoUnit.DAYS) |
3 |
False |
False |
True |
3 |
['0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['hadoop'] |
Link |
Duration.between(:[TCIVar].toInstant(),:[v0].toInstant()) |
Duration.between(:[TCIVar].atStartOfDay(),:[v0].atStartOfDay()) |
1 |
False |
False |
True |
1 |
['0c8829a9a1bcbeb017dd3288d4e0c56d4004a117'] |
['hadoop'] |
Link |
cal.getTime() |
LocalDate.of(calendarFields.get(Resolution.YEAR),calendarFields.getOrDefault(Resolution.MONTH,1),calendarFields.getOrDefault(Resolution.DAY,1)) |
1 |
False |
False |
True |
1 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |
calendar.getTime() |
LocalDate.now() |
2 |
False |
False |
True |
2 |
['d36d63fefa3ab9f4908f97772bcc6499e4f52532'] |
['framework'] |
Link |